Answers for "make bootstrap colum center"

11

bootstrap col center content

<div class="row">
    <div class="col-4 d-flex justify-content-center text-center">
        // for image and text
    </div>
</div>
Posted by: Guest on April-16-2020
1

Center a Column in Bootstrap

How to Center a Column in Bootstrap

Use the mx-auto Class

Example
<div class="container">
    <div class="row">
        <div class="col-sm-6 mx-auto">
            <!-- Column content -->
        </div>
    </div>
</div>
Posted by: Guest on August-12-2021

Browse Popular Code Answers by Language