Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.