richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
219 stars 77 forks source link

How to customize credit card form in Stripe? #128

Closed jstechaut closed 3 years ago

jstechaut commented 3 years ago

To style stripe element with the first-line card number and second-line CVC and expiry date Screenshot 2021-04-22 125149

richnologies commented 3 years ago

Hey @jstechaut,

Stripe elements are styled using a Style object, which consists of CSS properties. Here is a link to the Stripe JS reference for Style with more details.

In ngx-stripe you can do it in a similar way, here is link to the styling docs section.

Finally, here is a link to the stripe elements examples. The code is open source so it may help you get some inspiration.

Thank for getting in touch.

R