Skip to content

Instantly share code, notes, and snippets.

@pakMann
Created April 23, 2014 17:24
Show Gist options
  • Select an option

  • Save pakMann/11224947 to your computer and use it in GitHub Desktop.

Select an option

Save pakMann/11224947 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
@for $i from 1 through 3 {
.parent-#{$i} {
.child {
margin: 10px * $i, (10px * $i) + 10;
}
}
}
.parent-1 .child {
margin: 10px, 20px;
}
.parent-2 .child {
margin: 20px, 30px;
}
.parent-3 .child {
margin: 30px, 40px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment