Skip to content

Instantly share code, notes, and snippets.

@lewis-carson
Created October 19, 2018 20:13
Show Gist options
  • Save lewis-carson/9bc263ce06306e1700e9069f9e58f1ac to your computer and use it in GitHub Desktop.
Save lewis-carson/9bc263ce06306e1700e9069f9e58f1ac to your computer and use it in GitHub Desktop.
an extremely simple css boilerplate for dividing pages
.col1{
width: 8.333%;
float: left;
}
.col2{
width: 16.666%;
float: left;
}
.col3{
width: 25%;
float: left;
}
.col4{
width: 33.333%;
float: left;
}
.col5{
width: 41.666%;
float: left;
}
.col6{
width: 50%;
float: left;
}
.col7{
width: 58.333%;
float: left;
}
.col8{
width: 66.666%;
float: left;
}
.col9{
width: 75%;
float: left;
}
.col10{
width: 83.333%;
float: left;
}
.col11{
width: 91.666%;
float: left;
}
.col12{
width: 100%;
float: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment