center button only in small with bootstrap 4 code example
Example: bootstrap center button
<div class="text-center">
<button type="button">centered button</button>
</div>
<div class="text-center">
<button type="button">centered button</button>
</div>