Last active
September 25, 2021 16:56
-
-
Save stuart-haas/74d2759b49c7fd687bbbd766dcdcc758 to your computer and use it in GitHub Desktop.
Default Styles
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
.button { | |
padding: 2px; | |
background: none; | |
border-radius: 2px; | |
cursor: pointer; | |
text-align: center; | |
&--confirm { | |
padding: 8px 8px 6px 8px; | |
border: none; | |
background-color: green; | |
color: white; | |
} | |
&--cancel { | |
padding: 8px 8px 6px 8px; | |
border: none; | |
background-color: red; | |
color: white; | |
} | |
} | |
.fade-enter-active, .fade-leave-active { | |
transition: opacity 0.2s; | |
} | |
.fade-enter, .fade-leave-to { | |
opacity: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment