Skip to content

Instantly share code, notes, and snippets.

@josephwegner
Created April 23, 2014 18:48
Show Gist options
  • Save josephwegner/11227849 to your computer and use it in GitHub Desktop.
Save josephwegner/11227849 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
$merchant_images: ( king-kone: 'king-kone', alley_cat_comics: 'alley_cat_comics', robert_jeffrey: 'robert_jeffrey', berry_austin: 'berry_austin', dogaholics: 'dogaholics', barriques: 'barriques', rotofugi: 'rotofugi', chicago_bagel_authority: 'chicago_bagel_authority')
@each $merchant, $image in $merchant_images
.#{$merchant}
background-image: url(#{$image}.jpg)
.king-kone {
background-image: url(king-kone.jpg);
}
.alley_cat_comics {
background-image: url(alley_cat_comics.jpg);
}
.robert_jeffrey {
background-image: url(robert_jeffrey.jpg);
}
.berry_austin {
background-image: url(berry_austin.jpg);
}
.dogaholics {
background-image: url(dogaholics.jpg);
}
.barriques {
background-image: url(barriques.jpg);
}
.rotofugi {
background-image: url(rotofugi.jpg);
}
.chicago_bagel_authority {
background-image: url(chicago_bagel_authority.jpg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment