Skip to content

Instantly share code, notes, and snippets.

@aolko
Created August 20, 2014 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aolko/58bdca55fc1388edabea to your computer and use it in GitHub Desktop.
Save aolko/58bdca55fc1388edabea to your computer and use it in GitHub Desktop.
PocketGrid{LESS}
/*
PocketGrid{LESS} by aolko
*/
.row, .col, .row:after, .col:after, .row:before, .col:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.row {
*zoom: 1;
list-style-type: none;
padding: 0;
margin: 0;
& > .row {
clear: none;
float: left;
margin: 0 !important;
}
}
.row:before, .row:after {
display: table;
content: "";
line-height: 0;
}
.row:after {
clear: both;
}
.col {
float: left;
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment