Created
March 12, 2015 13:58
-
-
Save elbym/bb54d575f780cd054827 to your computer and use it in GitHub Desktop.
Zen Grids SASS
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
@for $zengrid from 1 through 4 { | |
.zen-grid-#{$zengrid}col { | |
@include clearfix; | |
$zen-column-count: $zengrid; | |
@for $i from 1 through $zen-column-count { | |
.zen-grid-#{$i} { | |
@include zen-grid-item(1, $i); | |
@if $i == 1 { | |
@include zen-clear(); | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment