Skip to content

Instantly share code, notes, and snippets.

@jackjennings
Created June 9, 2015 17:28
Show Gist options
  • Save jackjennings/5b945c6731fa26953f32 to your computer and use it in GitHub Desktop.
Save jackjennings/5b945c6731fa26953f32 to your computer and use it in GitHub Desktop.
@mixin inline-grid($object, $width, $gutter: 30px) {
font-size: 0;
.#{$object}s {
margin-right: -$gutter;
}
.#{$object} {
@include text;
display: inline-block;
width: $width;
padding-right: $gutter;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment