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