Skip to content

Instantly share code, notes, and snippets.

@allejo
Created March 12, 2015 18:12
Show Gist options
  • Save allejo/c53f148af2b2155ec20c to your computer and use it in GitHub Desktop.
Save allejo/c53f148af2b2155ec20c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
@for $i from 1 through 4 {
.votes li:nth-of-type(#{$i})
{
background: url('../bilder/keyvisual_#{$i}.png') no-repeat;
}
}
.votes li:nth-of-type(1) {
background: url("../bilder/keyvisual_1.png") no-repeat;
}
.votes li:nth-of-type(2) {
background: url("../bilder/keyvisual_2.png") no-repeat;
}
.votes li:nth-of-type(3) {
background: url("../bilder/keyvisual_3.png") no-repeat;
}
.votes li:nth-of-type(4) {
background: url("../bilder/keyvisual_4.png") no-repeat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment