Skip to content

Instantly share code, notes, and snippets.

@alcidesqueiroz
Last active September 21, 2018 22:42
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 alcidesqueiroz/62b0dbda823ca6d7c4afd79350d5b1ab to your computer and use it in GitHub Desktop.
Save alcidesqueiroz/62b0dbda823ca6d7c4afd79350d5b1ab to your computer and use it in GitHub Desktop.
It's 2018: you shouldn't be writing vanilla CSS - Example 4
.btn {
border-radius: 0.3rem;
border: 0.1rem solid #222;
&:hover {
opacity: 0.9;
}
}
.btn--blue {
@extend .btn;
background-color: #22D;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment