Skip to content

Instantly share code, notes, and snippets.

@mturjak
Created November 13, 2013 15:49
Show Gist options
  • Select an option

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

Select an option

Save mturjak/7451286 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{
@for $i from 1 through 3{
.compare-#{$i} .inner { @include sameHeight($i); };
}
}
.page .compare-1 .inner {
height: 388px;
}
.page .compare-2 .inner {
height: 409px;
}
.page .compare-3 .inner {
height: 430px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment