Answers for "how to align col md 4 in center i n bootstrap"

41

bootstrap 4 center div

<div class="d-flex justify-content-start">...</div>
<div class="d-flex justify-content-end">...</div>
<div class="d-flex justify-content-center">...</div>
<div class="d-flex justify-content-between">...</div>
<div class="d-flex justify-content-around">...</div>
Posted by: Guest on February-23-2020
1

bootstrap col-md-5 center

<div class="container">
  <div class="row">
     <div class="col-sm-5 mx-auto">
        Centered
    </div>
  </div>
</div>
Posted by: Guest on June-30-2020

Browse Popular Code Answers by Language