Created
May 30, 2015 16:57
-
-
Save claycarpenter/7624e4d316252765f9f5 to your computer and use it in GitHub Desktop.
Sass Snippets
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
/*! | |
Copyright 2015 Initech | |
This will always be present, no matter the output style. | |
*/ | |
/* | |
Multi-line comment. | |
This will be present in all output styles other than compressed. | |
*/ | |
body { | |
font-size: 16px; | |
} | |
// Single-line dev comment. | |
// This will be removed in all output styles. | |
h1 { | |
font-size: 1.8em; // Keep the h1 headers large. | |
} |
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
/*! Copyright 2015 */ | |
/* | |
Button properties. | |
*/ | |
.btn-a { | |
background: #777777; | |
border: 1px solid #ccc; | |
&:hover { | |
// Change button background on hover. | |
background: #cecece; | |
} | |
} | |
.btn-b { | |
@extend .btn-a; | |
background: #ffff00; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment