Skip to content

Instantly share code, notes, and snippets.

@urre
Created November 12, 2012 13:02
Show Gist options
  • Save urre/4059287 to your computer and use it in GitHub Desktop.
Save urre/4059287 to your computer and use it in GitHub Desktop.
Susu responsive grid
$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