<div class="container">
<div class="row row-centered">
<div class="col-xs-6 col-centered"></div>
<div class="col-xs-6 col-centered"></div>
<div class="col-xs-3 col-centered"></div>
<div class="col-xs-3 col-centered"></div>
<div class="col-xs-3 col-centered"></div>
</div>
</div>
.row {
text-align: center;
.col-centered //tutaj doda膰 wszystkie klasy col-*-*
{
display: inline-block;
float: none;
text-align: none;
margin-right: -4px;
}
}
藕r贸d艂o - http://www.minimit.com/articles/solutions-tutorials/bootstrap-3-responsive-centered-columns
Brak komentarzy:
Prze艣lij komentarz