I am trying to align a group of buttons at the bottom, centered horizontally and aligned vertically. Currently, this is how it looks:
<div class="row">
<div class="col-md-4">
<div class="center-block">
<div class="btn-group-vertical">
<p>
<button class="btn btn-info btn-sm btn-block">
Button 1a
</button>
</p>
<p>
<button class="btn btn-info btn-sm btn-block">
Button 2a
</button>
</p>
</div>
</div>
</div>
The current CSS for this setup is as follows:
.center-block {
display: block;
text-align: center;
}
row {
display: flex;
flex-direction: row;
justify-content: space-around;
}
https://i.sstatic.net/TNysE.png
What I want to achieve is the layout shown in the second picture.