Skip to content

Instantly share code, notes, and snippets.

@matsumos
Created June 16, 2014 06:43
Show Gist options
  • Save matsumos/f4eca832faef96b6025b to your computer and use it in GitHub Desktop.
Save matsumos/f4eca832faef96b6025b to your computer and use it in GitHub Desktop.
SCSS bem mixin work with libsass2.0
@mixin elem($el) {
&__#{$el} {
@content;
}
}
@mixin mod($mod) {
&#{'--'}#{$mod} {
@content;
}
}
@glassesfactory
Copy link

きんもーっ☆

@glassesfactory
Copy link

#{'--'}# 顔文字に見える

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment