-
-
Save matsumos/f4eca832faef96b6025b to your computer and use it in GitHub Desktop.
SCSS bem mixin work with libsass2.0
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
@mixin elem($el) { | |
&__#{$el} { | |
@content; | |
} | |
} | |
@mixin mod($mod) { | |
&#{'--'}#{$mod} { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
きんもーっ☆