Skip to content

Instantly share code, notes, and snippets.

@sirbrad
Created October 9, 2012 15:27
Show Gist options
  • Save sirbrad/3859521 to your computer and use it in GitHub Desktop.
Save sirbrad/3859521 to your computer and use it in GitHub Desktop.
.btn {
@include box-sizing(border-box);
display: inline-block;
padding: 0.5em 1.75em;
border: none;
border-bottom: 1px solid #6B5F5A;
margin: 0;
background-color: $brand;
color: #fff;
cursor: pointer;
font: inherit;
line-height: normal;
text-align: center;
text-decoration: none;
vertical-align: middle;
white-space: nowrap;
-webkit-appearance: none;
&:hover,
&:focus {
background-color: yellow;
}
&:active {
position: relative;
top: 1px;
}
}
.btn-danger {
background-color: red;
&:hover,
&:focus {
background-color: darkRed;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment