Skip to content

Instantly share code, notes, and snippets.

@marcbacon
Last active September 7, 2017 16:07
Show Gist options
  • Save marcbacon/ab2d3a995223a0301a86 to your computer and use it in GitHub Desktop.
Save marcbacon/ab2d3a995223a0301a86 to your computer and use it in GitHub Desktop.
[Basic 12 Column Grid]
.col {
float: left;
box-sizing: border-box;
padding: 0 10px;
}
.col-1 {
width: 8.3333%;
}
.col-2 {
width: 16.6666%;
}
.col-3 {
width: 25%;
}
.col-4 {
width: 33.3333%;
}
.col-5 {
width: 41.6666%;
}
.col-6 {
width: 50%;
}
.col-7 {
width: 58.3333%;
}
.col-8 {
width: 66.6666%;
}
.col-9 {
width: 75%;
}
.col-10 {
width: 83.3333%;
}
.col-11 {
width: 91.6666%;
}
.col-12 {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment