By using the grid positioning of the buttons to the right. Can anyone point me in the right direction?
.container {
width: 500px;
border: 1px solid red;
}
.grid {
display: grid;
grid-gap: 5px;
grid-auto-flow: column;
width: 100px;
}
<div class="container">
<div class="grid">
<button>test 1</button>
<button>test 2</button>
</div>
</div>
In the above scenario, how do I move the two buttons to the end of the parent div?