I want to position both the buttons in the center, I've tried margin:0 auto 0 auto; to the position but it doesn't work (when i tried positioning with table instead of Div it worked.) but still I want to know why I can't able to center it using div.
<div class="col-md-9 col-sm-12 service-details">
<h1 class="website-banner">We Just Don't Create Websites, We Create Art.</h1>
<div class="button-container">
<button class="btn btn-lg btn-dark" type="button">
Build My Website
</button>
<button class="btn btn-lg btn-dark" type="button">
Work With Us
</button>
</div>
</div>
Thanks.