Skip to content

Instantly share code, notes, and snippets.

@csswizardry
Created February 22, 2016 09:38
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 csswizardry/97cadca6e3b4a75596ad to your computer and use it in GitHub Desktop.
Save csswizardry/97cadca6e3b4a75596ad to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class=header>
<a>Foo</a>
<a class=btn>Foo</a>
</div>
// ----
// libsass (v3.2.5)
// ----
.header {
background: black;
color: white;
}
.header a {
color: white;
}
.btn {
background: white;
&#{&} {
color: black;
}
}
.header {
background: black;
color: white;
}
.header a {
color: white;
}
.btn {
background: white;
}
.btn.btn {
color: black;
}
<div class=header>
<a>Foo</a>
<a class=btn>Foo</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment