I am currently working on a project that involves creating a row with columns. The left-hand side column contains the name, while the right-hand side is populated with three buttons. However, I am facing some challenges in properly aligning and spacing out these buttons. I attempted to use the max-width
property in my CSS, but it only made things more complicated. Below is an excerpt from my HTML/CSS file:
#submitGPBtn {
margin-right: 30px;
}
<div class="row">
<div>
<h4> Group Pattern Test</h4>
</div>
<div class="mx-auto">
<button class="btn btn-primary">Save</button>
</div>
<div class="mx-auto">
<button class="btn btn-primary">Close</button>
</div>
<div class="ml-auto">
<button class="btn btn-primary" id="submitGPBtn">Submit</button>
</div>
</div>