Skip to content

Instantly share code, notes, and snippets.

@mirisuzanne
Created September 11, 2012 05:46
Show Gist options
  • Save mirisuzanne/3696247 to your computer and use it in GitHub Desktop.
Save mirisuzanne/3696247 to your computer and use it in GitHub Desktop.
eliminating gutters
nav {
float: left;
width: columns(4) + gutter()*.5; // the outer two just need half a gutter added.
&:nth-child(2) { width: columns(4) + gutter(); } // the middle needs a full gutter (half on each side).
@include nth-omega(3); // you might not need this, but it may help keep things clean.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment