Created
January 12, 2018 21:14
-
-
Save mikeyarce/75a5d35e3564a12f1316cf0a7d8c8a0d to your computer and use it in GitHub Desktop.
Style the Stripe 4.X credit card fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Target the Credit Card */ | |
#stripe-card-element { | |
background: #ffffff !important; | |
padding: 10px 5px !important; | |
margin: 5px 0px !important; | |
} | |
/* Target the Expiry Date */ | |
#stripe-exp-element { | |
background: #ffffff !important; | |
padding: 10px 5px !important; | |
} | |
/* Target the CVC Code */ | |
.woocommerce-checkout-review-order #stripe-cvc-element { | |
background: #ffffff !important; | |
margin: 5px 0px !important; | |
padding: 10px 5px !important; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment