The question must seem pretty basic and is ...
How do I remove these gaps as shown in image??
http://postimg.org/image/qigf1nfen/ (Not a very professional img I agree)
I want that the gaps should vanish , like if I want to create a header like in facebook its across the whole page , from left to right , any suggestions?
Code:
index.html:
<!DOCTYPE=html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css">
<body>
<div class="row">
<div class="col4">
<h1>Lorem Ipsum</h1>
</div>
</div>
</body>
</html>
main.css:
* {
outline: 1px solid red !important;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.row{
width:100%;
display: flex;
flex-wrap:wrap;
}
.col1{
width: 8.33%;
}
.col2{
width: 16.66%;
}
.col3{
width: 25%;
}
.col4{
width: 33.33%;
}
.col5{
width: 41.66%;
}
.col6{
width: 50%;
}
.col7{
width: 58.33%;
}
.col8{
width: 66.66%;
}
.col9{
width: 75%;
}
.col10{
width: 83.33%;
}
.col11{
width: 91.66%;
}
.col12{
width: 100%;
}