Skip to content

Instantly share code, notes, and snippets.

@ama-ch
Created October 24, 2014 08:00
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 ama-ch/d560502a3a9013e98316 to your computer and use it in GitHub Desktop.
Save ama-ch/d560502a3a9013e98316 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.6)
// Compass (v1.0.1)
// ----
.block1 {
&__element {
color: red;
&--modifier {
color: blue;
}
}
}
.block2 {
#{&}__element {
color: red;
#{&}--modifier {
color: blue;
}
}
}
.block1__element {
color: red;
}
.block1__element--modifier {
color: blue;
}
.block2 .block2__element {
color: red;
}
.block2 .block2__element .block2 .block2__element--modifier {
color: blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment