I'm currently working with a Bootstrap Card element that includes two buttons in the footer section. My goal is to position one button at the absolute center of the footer, while having a smaller button aligned to the left side of the footer. Additionally, both buttons need to be vertically centered within the footer.
Below is a snippet of my code:
<div class="card">
<div class="card-header">Header</div>
<div class="card-body">Content</div>
<div class="card-footer">
<div class="btn-wrapper text-center">
<a class="btn btn-secondary text-dark btn-sm">Remove</a>
<a class="btn btn-warning" style="">Next</a>
</div>
</div>
</div>
The current setup centers both buttons. However, I specifically want the "Next" button to be centralized and the "Remove" button to be positioned to the left. How can I achieve this layout?
You can view the example on jsbin here: https://jsbin.com/vesobayuci/1/edit?html,js,output