Created
May 1, 2015 03:15
-
-
Save cimmanon/94ce4b0d3e22ab8fd3f5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="#" class="Btn">light red</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// 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; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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