-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add example form styles and a testing class
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* 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; | ||
padding: 8px 12px; | ||
border-radius: 4px; | ||
border: 1px solid transparent; | ||
box-shadow: 0 1px 3px 0 #e6ebf1; | ||
-webkit-transition: box-shadow 150ms ease; | ||
transition: box-shadow 150ms ease; | ||
} | ||
|
||
.StripeElement--focus { | ||
box-shadow: 0 1px 3px 0 #cfd7df; | ||
} | ||
|
||
.StripeElement--invalid { | ||
border-color: #fa755a; | ||
} | ||
|
||
.StripeElement--webkit-autofill { | ||
background-color: #fefde5 !important; | ||
} | ||
|
||
.test{ | ||
background-color: red; | ||
min-height: 800px; | ||
} |