Last active
August 29, 2015 14:06
-
-
Save webdesignberlin/1f9ff65bed179cf7e448 to your computer and use it in GitHub Desktop.
SASS | make heading classes extended from headings
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
@for $h from 1 to 7 { | |
.h#{$h} { | |
@extend h#{$h}; | |
} | |
} | |
/* | |
* Sample Output: | |
* h1, .h1 { | |
* color: red; | |
* } | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment