I created a layout similar to an org-chart using the following structure:
HTML
<div class="container">
<div class="row">
<div class="col-md-3 box">
Column
</div>
<div class="col-md-3 box">
Column
</div>
<div class="col-md-3 box">
Column
</div>
<div class="col-md-3 box">
Column
</div>
</div>
<div class="row center-boxes">
<div class="col-md-3 col-md-push-1 box">
Column
</div>
<div class="col-md-3 col-md-push-1 box">
Column
</div>
<div class="col-md-3 col-md-push-1 box">
Column
</div>
</div>
</div>
CSS
.container{
background:#ccc;
}
.box{
background: gray;
height:50px;
text-align:center;
padding:15px;
border:1px solid black;
}
.center-boxes div{
margin:0 -4% 0 4%;
}
*Please note that this layout is designed for desktop view, adjustments may be necessary for smaller devices until reaching col-xs-12
, after which the offset (push) won't have an effect
Media query adjustments should also be made at 1024px and 991px with the margin:0 -4% 0 4%;
Feel free to check out the working demo here