I attempted to create a grid using CSS, but I seem to have made an error somewhere in my code. Can someone please take a look at my jsFiddle link and provide some guidance?
/*Grid*/
.container {
width: 100%;
max-width: 1200px;
}
.row:before,
.row:after {
content: "";
display: table;
clear: both;
}
[class*='col-'] {
float: left;
min-height: 1px;
width: 8.3333%;
padding: 15px; /*Gutter*/
}
.col-lg-1 {width: 8.3333%;}
.col-lg-2 {width: 16.6666%;}
.col-lg-3 {width: 25%;}
.col-lg-4 {width: 33.3333%;}
.col-lg-5 {width: 41.6666%;}
.col-lg-6 {width: 50%;}
.col-lg-7 {width: 58.3333%;}
.col-lg-8 {width: 66.6666%;}
.col-lg-9 {width: 75%;}
.col-lg-10 {width: 83.3333%;}
.col-lg-11 {width: 91.6666%;}
.col-lg-12 {width: 100%;}
If anyone could assist me with this issue, it would be greatly appreciated!