#rssv
1 messages · Page 1 of 1 (latest)
var card_num = elements.create('cardNumber', {
classes: {
base: 'basic',
focus: 'focus'
},
placeholder: 'Card number',
});
card_num.mount('#card_num');
Correct, you'd style them with the style API: https://stripe.com/docs/js/appendix/style
Wait, I thought the reason why we're setting custom classes is due passthroughing styles from website to iframe
So we can't passthrough styles inside of class to iframe?
No