center alignment bootstrap code example
Example 1: bootstrap display flex
<div class="d-flex">I'm a flexbox container!</div>
Example 2: bootstrap content alignment
<div class="d-flex p-2">I'm a flexbox container!</div>
Example 3: bootstrap content alignment
<div class="d-inline-flex p-2">I'm an inline flexbox container!</div>