Skip to content

Instantly share code, notes, and snippets.

@reichert621
Last active July 2, 2019 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reichert621/f2249d37fae41e04631e2da528a08fbb to your computer and use it in GitHub Desktop.
Save reichert621/f2249d37fae41e04631e2da528a08fbb to your computer and use it in GitHub Desktop.
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,500');
* {
box-sizing: border-box;
}
html,
body {
font-family: 'Open Sans', 'Helvetica Neue', Arial, san-serif;
line-height: 1.15;
margin: 0;
}
/* Some minimal styling to center the form with some margin */
.StripeForm {
margin: 40px auto;
max-width: 400px;
}
/* Styles our inputs and Stripe Elements consistently */
input,
.StripeElement {
height: 40px;
padding: 10px 12px;
border: 1px solid transparent;
border-radius: 4px;
background-color: #ffffff;
box-shadow: 0 1px 3px 0 #e6ebf1;
-webkit-transition: box-shadow 0.2s ease;
transition: box-shadow 0.2s ease;
}
/* Customizes how inputs and Stripe Elements appear on focus */
input:focus,
.StripeElement--focus {
box-shadow: 0 1px 3px 0 #cfd7df;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment