Created
February 17, 2015 22:25
-
-
Save americos/009862eb67b07f7dc9d2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// 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; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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