Is it possible to make blocks col-md-6, for example, to make centered?
Need to say, if a string, it is placed 4 blocks. But if these block are only 2 so they were both in the center? And that all worked automatically. offset is not the same. The number of blocks can vary over time.
In the 4th version this is done by adding class justify-content-center:
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
One of two columns
</div>
<div class="col-md-6">
One of two columns
</div>
</div>
</div>
norval.Rippin answered on June 10th 19 at 16:56
on a certain resolution of the parent block to put text-align:center, and child 2m which must be centered to assign display:inline-block