Skip to content

Instantly share code, notes, and snippets.

@wyattdanger
Created September 27, 2010 21:00
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 wyattdanger/599823 to your computer and use it in GitHub Desktop.
Save wyattdanger/599823 to your computer and use it in GitHub Desktop.
/* grids */
@media screen and (max-width: 319px) {.unit { float: none !important; width: auto !important;}
}
.line:after,.lastUnit:after { clear: both; display: block; visibility: hidden; overflow: hidden; height: 0 !important; line-height: 0; font-size: xx-large; content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";}
.line {*zoom:1;}
.unit { float: left;}
.size1of1 { float: none;}
.size1of2 { width: 50%;}
.size1of3 { width: 33.33333%;}
.size2of3 { width: 66.66666%;}
.size1of4 { width: 25%;}
.size3of4 { width: 75%;}
.size1of5 { width: 20%;}
.size2of5 { width: 40%;}
.size3of5 { width: 60%;}
.size4of5 { width: 80%;}
.lastUnit { display: table-cell; float: none; width: auto;*display:block;*zoom:1; _position: relative; _left: -3px; _margin-right: -3px;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment