How can I change a grid of 3x2 to 2x3 without having an empty space where one row ends and another starts?
For example:
<div class="row">
<div class="col-md-4 col-sm-6">
content
</div>
<div class="col-md-4 col-sm-6">
content
</div>
<div class="col-md-4 col-sm-6">
content
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-6">
content
</div>
<div class="col-md-4 col-sm-6">
content
</div>
<div class="col-md-4 col-sm-6">
content
</div>
</div>
This is what I want to achieve:
This:
To this:
But instead I get this:
Just put it all in one row - it'll wrap down automatically.
JSFiddle
Put them all in one row. See this bootply
Like: