Created
October 3, 2014 16:41
-
-
Save CheetoMao/36b7488e8dab4658cb89 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
<button class="button">.button</button> | |
<button class="button--yellow">.button--yellow</button> | |
<button class="button_blue">.button_blue</button> | |
<button class="button-green">.button-green</button> | |
<button class="buttonPink">.buttonPink</button> |
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.4) | |
// Compass (v1.0.1) | |
// ---- | |
.button { | |
background: #F00; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
font-size: 1.25rem; | |
padding: 1rem 2rem; | |
box-shadow: 0 -4px 0px 0 rgba(0,0,0,.2)inset; | |
&--yellow { | |
@extend .button; | |
background: #FF0; | |
} | |
&_blue { | |
@extend .button; | |
background: #00F; | |
} | |
&-green { | |
@extend .button; | |
background: #0F0; | |
} | |
&Pink { | |
@extend .button; | |
background: #F0F; | |
} | |
} |
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
.button, .button--yellow, .button_blue, .button-green, .buttonPink { | |
background: #F00; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
font-size: 1.25rem; | |
padding: 1rem 2rem; | |
box-shadow: 0 -4px 0px 0 rgba(0, 0, 0, 0.2) inset; | |
} | |
.button--yellow { | |
background: #FF0; | |
} | |
.button_blue { | |
background: #00F; | |
} | |
.button-green { | |
background: #0F0; | |
} | |
.buttonPink { | |
background: #F0F; | |
} |
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
<button class="button">.button</button> | |
<button class="button--yellow">.button--yellow</button> | |
<button class="button_blue">.button_blue</button> | |
<button class="button-green">.button-green</button> | |
<button class="buttonPink">.buttonPink</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment