Answers for "bootstrap div in the middle of page"

5

centralize div bootstrap

<div class="row align-items-center justify-content-center">
    <div class="col">This will be centered vertically and horizontally</div>
</div>
Posted by: Guest on May-29-2020
0

centralizing to the middle of the screen with bootstrap 5

<div class="d-grid gap-2 col-6 mx-auto">
  <button class="btn btn-primary" type="button">Button</button>
  <button class="btn btn-primary" type="button">Button</button>
</div>
Posted by: Guest on February-07-2022

Code answers related to "bootstrap div in the middle of page"

Browse Popular Code Answers by Language