Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created January 16, 2012 22:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameskoster/1623382 to your computer and use it in GitHub Desktop.
Save jameskoster/1623382 to your computer and use it in GitHub Desktop.
% flexible 12 col grid
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
margin-right:3.8%;
}
.onecol {
width: 4.85%;
}
.twocol {
width: 13.45%;
}
.threecol {
width: 22.05%;
}
.fourcol {
width: 30.75%;
}
.fivecol {
width: 39.45%;
}
.sixcol {
width: 48%;
}
.sevencol {
width: 56.75%;
}
.eightcol {
width: 65.4%;
}
.ninecol {
width: 74.05%;
}
.tencol {
width: 82.7%;
}
.elevencol {
width: 91.35%;
}
.twelvecol {
width: 100%;
}
.last {
margin-right:0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment