Skip to content

Instantly share code, notes, and snippets.

@pavenuto
Created February 16, 2011 18:00
Show Gist options
  • Save pavenuto/829821 to your computer and use it in GitHub Desktop.
Save pavenuto/829821 to your computer and use it in GitHub Desktop.
/* Grid */
.row, div[class*='span-'] { float: left; }
.row {
clear: both;
width: 100%;
}
[class*='span-'] {
margin-left: 20px;
min-height: 20px;
}
.span-1 { width: 100px; }
.span-2 { width: 220px; }
.span-3 { width: 340px; }
.span-4 { width: 460px; }
.span-5 { width: 580px; }
.span-6 { width: 700px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment