display button horizatly css bootstrap center 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>