Answers for "how to center something inside a bootstrap row"

0

align eliment in center of row bootstrap

<div class="row justify-content-center">
  ...inner divs and content...
</div>
Posted by: Guest on June-13-2020
1

align center inner div using bootstrap

<div class="container">
  <div class="row justify-content-md-center">
    <div class="col col-lg-2">
      1 of 3
    </div>
    <div class="col-md-auto">
      Variable width content
    </div>
    <div class="col col-lg-2">
      3 of 3
    </div>
  </div>
  <div class="row">
    <div class="col">
      1 of 3
    </div>
    <div class="col-md-auto">
      Variable width content
    </div>
    <div class="col col-lg-2">
      3 of 3
    </div>
  </div>
</div>
Posted by: Guest on June-02-2020

Code answers related to "how to center something inside a bootstrap row"

Browse Popular Code Answers by Language