Skip to content

Instantly share code, notes, and snippets.

@jordanandree
Created October 6, 2012 23:23
Show Gist options
  • Save jordanandree/3846488 to your computer and use it in GitHub Desktop.
Save jordanandree/3846488 to your computer and use it in GitHub Desktop.
1000px grid
@mixin base {
float: left;
margin-left: 2%;
&:first-child {
margin-left: 0;
}
}
@mixin grid_twelve {
@include base;
width: 6.5%;
}
@mixin grid_six {
@include base;
width: 15%;
}
@mixin grid_four {
@include base;
width: 23.5%;
}
@mixin grid_three {
@include base;
width: 32%;
}
@mixin grid_two {
@include base;
width: 49%;
}
@mixin grid_one {
@include base;
width: 100%;
margin-right: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment