bootstrap center align classes code example
Example 1: bootstrap center
<div class="row h-100">
<div class="col-sm-12 my-auto">
<div class="card card-block w-25">Card</div>
</div>
</div>
Example 2: bootstrap display flex
<div class="d-flex">I'm a flexbox container!</div>