Skip to content

Instantly share code, notes, and snippets.

@lewismcarey
Created September 30, 2014 13:44
Show Gist options
  • Save lewismcarey/2e6095a95e0792e1d018 to your computer and use it in GitHub Desktop.
Save lewismcarey/2e6095a95e0792e1d018 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
.block {
color: blue;
&--modifier {
color: red;
}
&__element {
color: green;
&--modifier {
color: yellow;
}
}
.namespace & {
color: grey;
&--modifier {
color: red;
}
}
}
.block {
color: blue;
}
.block--modifier {
color: red;
}
.block__element {
color: green;
}
.block__element--modifier {
color: yellow;
}
.namespace .block {
color: grey;
}
.namespace .block--modifier {
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment