Skip to content

Instantly share code, notes, and snippets.

@una
Created April 5, 2014 17:15
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 una/9994826 to your computer and use it in GitHub Desktop.
Save una/9994826 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
.cat {
color: gold;
// must be both a cat and black in the same class=".."
&.black {
color: black;
}
// you can have a div with class black INSIDE of a div with class cat
.black {
color: black
}
}
.cat {
color: gold;
}
.cat.black {
color: black;
}
.cat .black {
color: black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment