Skip to content

Instantly share code, notes, and snippets.

@ericmasiello
Created March 6, 2020 15:39
Show Gist options
  • Save ericmasiello/e8628c23ae7ec1b3c27a35e4ffb0b622 to your computer and use it in GitHub Desktop.
Save ericmasiello/e8628c23ae7ec1b3c27a35e4ffb0b622 to your computer and use it in GitHub Desktop.
Button with modifiers
.button {
border-radius: 0.25rem;
background-color: #676775;
color: #fff;
font-weight: 600;
font-size: 0.75rem;
text-transform: uppercase;
padding: 0.375rem 0.75rem;
}
.button--outline {
background-color: transparent;
border-color: #676775;
color: #676775;
}
.button--primary {
background-color: #2ba8e0;
}
.button--outline-primary {
background-color: transparent;
border-color: #2ba8e0;
color: #2ba8e0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment