Skip to content

Instantly share code, notes, and snippets.

@dmitry-ilyashevich
Created May 30, 2014 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitry-ilyashevich/79a6e86c5df5bd60ad1a to your computer and use it in GitHub Desktop.
Save dmitry-ilyashevich/79a6e86c5df5bd60ad1a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.7)
// ----
=e($name)
@at-root #{&}__#{$name}
@content
=m($name)
@at-root #{&}--#{$name}
@content
.block
color: red
+e(element)
color: green
+m(modifier)
color: blue
.block {
color: red;
}
.block__element {
color: green;
}
.block__element--modifier {
color: blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment