Styling Stripe Card Elements
Introduction
Setting Styles
Setting up the JavaScript Variable
<script>
var stripe_style = {
base: {
color: '#DDA0DD', //Sets CSS property "color" of "base" variant
'::placeholder': {
color: '#DDA0DD' // Sets CSS property of placeholders within the "base" variant
}
}
}
</script>Available Selectors and CSS properties
Renaming the Classes - Advanced
Last updated
Was this helpful?

