bootstrap 4 center button horizontally code example
Example: bootstrap center button horizontally
<button type="submit" class="btn btn-primary mx-auto d-block">Submit</button>
<button type="submit" class="btn btn-primary mx-auto d-block">Submit</button>