how to center items with bootstrat code example
Example 1: align items center bootstrap
<div class="d-flex align-items-start">...</div>
<div class="d-flex align-items-end">...</div>
<div class="d-flex align-items-center">...</div>
<div class="d-flex align-items-baseline">...</div>
<div class="d-flex align-items-stretch">...</div>
Example 2: how to center an element in bootstrap
//Bootstrap answer
To center text add .text-center class to the parent element