Skip to content

Instantly share code, notes, and snippets.

@miphe
Created May 9, 2015 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miphe/e3fdc264caaaf74a9687 to your computer and use it in GitHub Desktop.
Save miphe/e3fdc264caaaf74a9687 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.0-beta.6)
// ----
@each $car in
bmwwhite
hondared
22ltr-porche
30ltr-cossworth
{
[class="#{$car}"] {
background:url(/img/cars/#{$car}.jpg) no-repeat
}
}
[class="bmwwhite"] {
background: url(/img/cars/bmwwhite.jpg) no-repeat;
}
[class="hondared"] {
background: url(/img/cars/hondared.jpg) no-repeat;
}
[class="22ltr-"] {
background: url(/img/cars/22ltr-.jpg) no-repeat;
}
[class="porche"] {
background: url(/img/cars/porche.jpg) no-repeat;
}
[class="30ltr-"] {
background: url(/img/cars/30ltr-.jpg) no-repeat;
}
[class="cossworth"] {
background: url(/img/cars/cossworth.jpg) no-repeat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment