Skip to content

Instantly share code, notes, and snippets.

@MichaelArestad
Created September 16, 2014 22:21
Show Gist options
  • Save MichaelArestad/bc76aa7af9d1703d62e4 to your computer and use it in GitHub Desktop.
Save MichaelArestad/bc76aa7af9d1703d62e4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$array:('grumpy', 'nyan', 'felix-the');
@each $cat in $array {
.#{$cat}-cat {
content: '#{$cat} cat';
}
}
.grumpy-cat {
content: "grumpy cat";
}
.nyan-cat {
content: "nyan cat";
}
.felix-the-cat {
content: "felix-the cat";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment