Skip to content

Instantly share code, notes, and snippets.

@americos
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save americos/b3f56c814de42b5a2388 to your computer and use it in GitHub Desktop.
Save americos/b3f56c814de42b5a2388 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, $height in (1: 90px, 2: 190px) {
.collage-height-#{$index} {
height: $height;
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 {
height: 90px;
overflow: hidden;
}
.collage-height-2 {
height: 190px;
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment