Created
May 7, 2015 12:32
-
-
Save bradrice/a05143bb48232e4316e0 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
<div class="profile-brad"></div> | |
<div class="profile-alex"></div> | |
<div class="profile-chris"></div> | |
<div class="profile-anthony"></div> |
This file contains hidden or 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.4.13) | |
// Compass (v1.0.3) | |
// ---- | |
$profiles: brad, alex, chris, anthony; | |
@each $guy in $profiles { | |
.profile-#{$guy} { | |
background-picture: url(#{$guy}.png); | |
} | |
} |
This file contains hidden or 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
.profile-brad { | |
background-picture: url(brad.png); | |
} | |
.profile-alex { | |
background-picture: url(alex.png); | |
} | |
.profile-chris { | |
background-picture: url(chris.png); | |
} | |
.profile-anthony { | |
background-picture: url(anthony.png); | |
} |
This file contains hidden or 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
<div class="profile-brad"></div> | |
<div class="profile-alex"></div> | |
<div class="profile-chris"></div> | |
<div class="profile-anthony"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment