Skip to content

Instantly share code, notes, and snippets.

@ggamel
Forked from mirisuzanne/nav.scss
Created February 27, 2013 19:48
Show Gist options
  • Save ggamel/5051067 to your computer and use it in GitHub Desktop.
Save ggamel/5051067 to your computer and use it in GitHub Desktop.
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