why not in the center button css code example
Example: how do you center buttons in css
<div style="text-align:center;">
<button>button1</button>
<button>button2</button>
</div>
<div style="text-align:center;">
<button>button1</button>
<button>button2</button>
</div>