Created
May 21, 2014 11:42
-
-
Save joecritch/a60f7f09fecf6d86f7e3 to your computer and use it in GitHub Desktop.
BEM SASS trick
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
.module { | |
some: stuff; | |
&__child { | |
blah: blah; | |
} | |
&--modifier { | |
modify: me; | |
} | |
} |
Haha, just ran into exactly this issue (unaware of your comment).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Although worth bearing in mind that this apparently only works with Sass 3.3, because of the way '&' is parsed.