<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<button type="button" class="btn btn-outline-primary">Gallary</button>
</div>
</div>
</div>
I'm new to html and bootstrap. I'm trying to place a button in the center of the webpage vertically and horizontally. I have created a container and added a row inside it. Inside the row I offsetted a 4 column div element. Inside the div element is the button. But this button does'nt seem to be in the center. If I add a second button and tried offsetting it, it would be placed in the center but the hover wont work(or button does'nt work).