Created
November 12, 2012 13:02
-
-
Save urre/4059287 to your computer and use it in GitHub Desktop.
Susu responsive grid
This file contains hidden or 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
| $total-columns: 4; | |
| #main { | |
| @include container(4,30em 12); // at min-width 30-em we establish a 12-column grid | |
| section.nav { | |
| @include span-columns(4); // by default we have 4 columns | |
| @include at-breakpoint(30em 12) { // at 30em we want 12 columns | |
| @include span-columns(12); // now we have 12 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment