Skip to content

Instantly share code, notes, and snippets.

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