I'm struggling with customizing the appearance of a Stripe credit card input within my Vue.js application. I want to adjust the background color to #f1f1f1 and set the height to 60px, but despite trying both base styles and css, I can't seem to get it right. Can anyone help me figure out what I'm doing incorrectly? Ideally, I would like to target it using css. Below is the code snippet:
loadStripe() {
card = elements.create("card", {
style: {
base: {
iconColor: '#2A2A2A',
color: '#2A2A2A',
fontWeight: 300,
fontFamily: 'Lato, Open Sans, Segoe UI, sans-serif',
fontSize: '19px',
// height: '60px',
// background: '#f1f1f1',
'::placeholder': {
color: '#2A2A2A',
fontSize: '19px',
},
},
}
});
Thank you in advance!