Skip to content

Instantly share code, notes, and snippets.

@sirbrad
Created May 13, 2013 13:33
Show Gist options
  • Save sirbrad/5568317 to your computer and use it in GitHub Desktop.
Save sirbrad/5568317 to your computer and use it in GitHub Desktop.
.btn {
background-color: #f00;
display: block;
&:hover,
&:focus {
background-color: red;
}
&:active {
background-color: blue;
}
.js & {
opacity: 0;
}
@include respond-to(40em) {
display: inline-block;
}
@include respond-to(960px) {
background-color: #000;
&:hover,
&:focus {
background-color: blue;
}
&:active {
background-color: red;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment