Skip to content

Instantly share code, notes, and snippets.

@cimmanon
Created May 1, 2015 03:15
Show Gist options
  • Save cimmanon/94ce4b0d3e22ab8fd3f5 to your computer and use it in GitHub Desktop.
Save cimmanon/94ce4b0d3e22ab8fd3f5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<a href="#" class="Btn">light red</a>
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
$btCol: #ff6600;
.Btn {
background-color: #fff;
border: 1px solid $btCol;
display: inline-block;
cursor: pointer;
color: #000;
font-size: 12px;
padding:5px 5px;
text-decoration: none;
text-transform: uppercase; //why won't convert the text to uppercase?
}
.Btn:hover {
background-color: lighten($btCol, 50%);
text-decoration: none;
}
.Btn:active {
position: relative;
top: 1px;
}
.Btn:disabled {
background-color: #eb675e;
color: #999;
}
.Btn {
background-color: #fff;
border: 1px solid #ff6600;
display: inline-block;
cursor: pointer;
color: #000;
font-size: 12px;
padding: 5px 5px;
text-decoration: none;
text-transform: uppercase;
}
.Btn:hover {
background-color: white;
text-decoration: none;
}
.Btn:active {
position: relative;
top: 1px;
}
.Btn:disabled {
background-color: #eb675e;
color: #999;
}
<a href="#" class="Btn">light red</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment