button align bootstrap 4 code example
Example: button center bootstrap
<div class="text-center">
<button type="button" class="btn btn-primary">My button</button>
</div>
<div class="text-center">
<button type="button" class="btn btn-primary">My button</button>
</div>