-
-
Save Yohn/62ce1ef1275f182786c85ff56094120b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.7) | |
// ---- | |
$zoo: ("puma": black, "sea-slug": green, "egret": brown, "salamander": red); | |
@each $animal, $color in $zoo { | |
.#{$animal}-icon { | |
background-color: $color; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.puma-icon { | |
background-color: black; | |
} | |
.sea-slug-icon { | |
background-color: green; | |
} | |
.egret-icon { | |
background-color: brown; | |
} | |
.salamander-icon { | |
background-color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment