Created
May 24, 2015 18:02
-
-
Save geckotang/7d4d2fef9a299152779b 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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
$list: (geckotang mamilline6 no_1026); | |
@each $item in $list { | |
.avatar--#{$item} { | |
background-image: url('path/to/icon-#{$item}.jpg'); | |
} | |
} |
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
.avatar--geckotang { | |
background-image: url("path/to/icon-geckotang.jpg"); | |
} | |
.avatar--mamilline6 { | |
background-image: url("path/to/icon-mamilline6.jpg"); | |
} | |
.avatar--no_1026 { | |
background-image: url("path/to/icon-no_1026.jpg"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment