Created
October 30, 2013 08:24
-
-
Save chentsulin/7228929 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.10) | |
// ---- | |
$users: amy annie eric | |
@each $u in $users | |
.user-#{$u} | |
background: url(#{$u}.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
.user-amy { | |
background: url(amy.jpg); | |
} | |
.user-annie { | |
background: url(annie.jpg); | |
} | |
.user-eric { | |
background: url(eric.jpg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment