div button allign center bootstrap code example
Example 1: button center bootstrap
<div class="text-center">
<button type="button" class="btn btn-primary">My button</button>
</div>
Example 2: bootstrap center button
<div class="text-center">
<button type="button">centered button</button>
</div>