bootstrap button align text middle code example
Example 1: button center bootstrap
<div class="text-center">
<button type="button" class="btn btn-primary">My button</button>
</div>
Example 2: how to align a button in div center vertically in boostrap
<div class="d-flex align-items-center justify-content-center"></div>