I have a div inside a Bootstrap container-fluid
like so:
<div class="container-fluid">
<div class="col-md-12 myDiv">
</div>
</div>
My CSS:
.myDiv {
height: 200px;
background-color: red;
}
But of course, the background of myDiv
doesn't go all the way to the edges of the view, since container-fluid
has padding/margin
on it. Anyway to over come this?