Created
July 30, 2013 10:44
-
-
Save jmlweb/6111940 to your computer and use it in GitHub Desktop.
Example of control directives in SCSS
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
i { | |
$positions: (izq, der); | |
$colors: (w, b); | |
@for $i from 1 through 2 { | |
@each $position in $positions { | |
@each $color in $colors { | |
&.#{ $position }_0#{ $i }_#{ $color } { | |
@include fx_item(#{ $position }_0#{ $i }_#{ $color }); | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment