Created
November 22, 2015 14:08
-
-
Save Lorezz/d2a249703c1f381fff88 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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 type="button">I look amazing</button> |
This file contains 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) | |
// ---- | |
$buttonColor: #2ecc71; | |
$buttonDark: darken($buttonColor, 10%); | |
$buttonDarker: darken($buttonDark, 10%); | |
button { | |
background: $buttonColor; | |
border-radius: 3px; | |
box-shadow: 0px 5px 0px $buttonDark; | |
border: 0; | |
color: white; | |
font-size: 17px; | |
padding: 10px 30px; | |
display: inline-block; | |
outline: 0; | |
&:hover { | |
background: $buttonDark; | |
box-shadow: 0px 5px 0px $buttonDarker; | |
} | |
&:active { | |
box-shadow: none; | |
margin-top: 5px; | |
} | |
} | |
body { | |
text-align: center; | |
padding-top: 100px; | |
} |
This file contains 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 { | |
background: #2ecc71; | |
border-radius: 3px; | |
box-shadow: 0px 5px 0px #25a25a; | |
border: 0; | |
color: white; | |
font-size: 17px; | |
padding: 10px 30px; | |
display: inline-block; | |
outline: 0; | |
} | |
button:hover { | |
background: #25a25a; | |
box-shadow: 0px 5px 0px #1b7943; | |
} | |
button:active { | |
box-shadow: none; | |
margin-top: 5px; | |
} | |
body { | |
text-align: center; | |
padding-top: 100px; | |
} |
This file contains 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 type="button">I look amazing</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment