#Ludvig-React

1 messages · Page 1 of 1 (latest)

ember tiger
ruby flame
#

Weirdly enough, I get a quick flash of the chosen color but it quickly returns to white

#card-element {
    background: red;
  }
#

So I copied all the code and styles from the link you sent and tried changing the #card-element background. And again. Nothing except the quick flash of the right color when I refresh the page.

ember tiger
#

It has a code sandbox

#

Hmm it does look like what you are searching for

ruby flame
#

I copied that code as well and changed the FormGroup { background-color: #000 }

Same thing happens, with the flash and everything

#

It works in the codesandbox though

#

weird

#

Can we get someone in here that knows react/next.js and the react stripe elements package well?

ember tiger
#

Sure, you can come back later when others are online, and open a new thread. For now the Sandbox is what I have to offer

#

Your code is the same, but it's working only on the Sandbox?

#

Any function/method that might immediately reverting you back to the white style?

ruby flame
#

Yup, could have something to do with package versions but I doubt it

ruby flame
#

Thanks for trying your best 🙂 I'll keep trying and i'll post later today if I still can't figure it out