Created
August 4, 2013 20:39
-
-
Save illepic/6151851 to your computer and use it in GitHub Desktop.
A CodePen by Christopher Bloom.
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
@import "compass"; | |
// an extendable class | |
.extendable-style { | |
font-weight: bold; | |
line-height: 1.7; | |
} | |
// apply | |
.thingy-1{ @extend .extendable-style; } | |
.child .of .something{ @extend .extendable-style; } | |
// output | |
.extendable-style, | |
.thingy-1, | |
.child .of .something{ | |
font-weight: bold; | |
line-height: 1.7; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment