Skip to content

Instantly share code, notes, and snippets.

@stuart-haas
Last active September 25, 2021 16:56
Show Gist options
  • Save stuart-haas/74d2759b49c7fd687bbbd766dcdcc758 to your computer and use it in GitHub Desktop.
Save stuart-haas/74d2759b49c7fd687bbbd766dcdcc758 to your computer and use it in GitHub Desktop.
Default Styles
.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