Skip to content

Instantly share code, notes, and snippets.

@americos
Created February 17, 2015 22:25
Show Gist options
  • Save americos/009862eb67b07f7dc9d2 to your computer and use it in GitHub Desktop.
Save americos/009862eb67b07f7dc9d2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
// Width
@each $index, $width in (1: 15%, 2: 30%, 4: 45%) {
.collage-width-#{$index} {
width: $width;
overflow: hidden;
}
}
// Height
@each $index, $width in (1: 90px, 2: 190px) {
.collage-height-#{$index} {
width: $width;
overflow: hidden;
}
}
.collage-width-1 {
width: 15%;
overflow: hidden;
}
.collage-width-2 {
width: 30%;
overflow: hidden;
}
.collage-width-4 {
width: 45%;
overflow: hidden;
}
.collage-height-1 {
width: 90px;
overflow: hidden;
}
.collage-height-2 {
width: 190px;
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment