I have jsfiddle here: http://jsfiddle.net/nH5WP/
This is a super simple 3 x 3 grid using Bootstrap 3
I want to add fields to the right and bottom of each block.
The last block in each row falls, I would usually delete the right margin in the last block in each row with something like
.box:last-child{ background: yellow; margin: 0 0 10px 0; }
but it does not work.
How to add fields between each block in this grid?
<div class="container"> <div class="row"> <div class="col-xs-4 box"> <p>One</p> </div> <div class="col-xs-4 box"> <p>Two</p> </div> <div class="col-xs-4 box"> <p>Three</p> </div> </div> <div class="row"> <div class="col-xs-4 box"> <p>Four</p> </div> <div class="col-xs-4 box"> <p>Five</p> </div> <div class="col-xs-4 box"> <p>Six</p> </div> </div> <div class="row"> <div class="col-xs-4 box"> <p>Seven</p> </div> <div class="col-xs-4 box"> <p>Eight</p> </div> <div class="col-xs-4 box"> <p>Nine</p> </div> </div> </div>
source share