Skip to content

Instantly share code, notes, and snippets.

@geckotang
Created May 24, 2015 18:02
Show Gist options
  • Save geckotang/7d4d2fef9a299152779b to your computer and use it in GitHub Desktop.
Save geckotang/7d4d2fef9a299152779b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.4)
// ----
$list: (geckotang mamilline6 no_1026);
@each $item in $list {
.avatar--#{$item} {
background-image: url('path/to/icon-#{$item}.jpg');
}
}
.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