Created
February 4, 2016 21:46
-
-
Save adnasa/880278c48a3677d2e775 to your computer and use it in GitHub Desktop.
Overhaul suggestion 1: Adding a specific class that defines that block's state itself
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, | |
.btn--primary, | |
.btn--secondary, | |
.btn--inverted { | |
outline: none; | |
border: none; | |
padding: 5px 10px; | |
letter-spacing: 1px; | |
text-transform: uppercase; | |
} | |
.btn--primary { | |
color: #333333; | |
background-color: #FFBA27; | |
} | |
.btn--secondary { | |
color: #ADADAD; | |
background-color: #fff; | |
border: 2px solid #ADADAD; | |
border-radius: 2px; | |
padding: 3px 20px; | |
} | |
.btn--inverted { | |
color: #fff; | |
background-color: #ADADAD; | |
} |
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 { | |
outline: none; | |
border: none; | |
padding: 5px 10px; | |
letter-spacing: 1px; | |
text-transform: uppercase; | |
&--primary { | |
@extend .btn; | |
color: #333333; | |
background-color: #FFBA27; | |
} | |
&--secondary { | |
@extend .btn; | |
color: #ADADAD; | |
background-color: #fff; | |
border: 2px solid #ADADAD; | |
border-radius: 2px; | |
padding: 3px 20px; | |
} | |
&--inverted { | |
@extend .btn; | |
color: #fff; | |
background-color: #ADADAD; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment