Skip to content

Instantly share code, notes, and snippets.

@asimonok
Last active November 16, 2015 09:15
Show Gist options
  • Save asimonok/0339fec1d72cbbd53586 to your computer and use it in GitHub Desktop.
Save asimonok/0339fec1d72cbbd53586 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<a href="#" class="black">black</a>
<a href="#" class="grey">grey</a>
<a href="#" class="red">red</a>
// ----
// libsass (v3.2.5)
// ----
$colors: #000, #666, #ff0000;
.black{
color:nth($colors,1);
}
.grey{
color:nth($colors,2);
}
.red{
color:nth($colors,3);
}
.black {
color: #000;
}
.grey {
color: #666;
}
.red {
color: #ff0000;
}
<a href="#" class="black">black</a>
<a href="#" class="grey">grey</a>
<a href="#" class="red">red</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment