Created
June 28, 2013 08:24
-
-
Save jeffbkk/5883294 to your computer and use it in GitHub Desktop.
Another way for omega reset done in bourbon neat
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
// From https://github.com/joshfry/point-guard | |
// Pass a second argument as the grid number context | |
@mixin omega-grid-reset($nth, $num-grid) { | |
&:nth-child(#{$nth}) { margin-right: flex-gutter($num-grid); } | |
&:nth-child(#{$nth}+1) { clear: none } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment