.field { padding-top: 10px; padding-left: 5px; padding-right: 5px; } /** * The CSS shown here will not be introduced in the Quickstart guide, but shows * how you can use CSS to style your Element's container. */ .StripeElement { background-color: white; height: 40px; padding: 10px 12px; border-radius: 5px; border: 1px solid rgba(34,36,38,.15); color: rgba(0,0,0,.87); } .StripeElement--focus { border-color: #85b7d9; } .StripeElement--invalid { border-color: #fa755a; } .StripeElement--webkit-autofill { background-color: #fefde5 !important; }