Skip to content

Instantly share code, notes, and snippets.

@mturjak
Created November 13, 2013 23:47
Show Gist options
  • Select an option

  • Save mturjak/7458629 to your computer and use it in GitHub Desktop.

Select an option

Save mturjak/7458629 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
@mixin sameHeight($multiplier){
height: 367px + 21px * $multiplier;
}
.page{
.inner{
@for $i from 1 through 3{
&.compare-#{$i} { @include sameHeight($i); };
}
}
}
.page .inner.compare-1 {
height: 388px;
}
.page .inner.compare-2 {
height: 409px;
}
.page .inner.compare-3 {
height: 430px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment