At least using google Chrome, iframes are not transparent if they do not contain the same color-scheme tag value as the parent page.
So when implementing a dark theme on a website, it is impossible to style the background-color of the CardElement to match the user's current theme.
Potential solution : add a new optionnal object key to the CardElement({}) constructor for passing in the value of the color-scheme tag.