bootstrap 4 center text in button 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>