Two column Grid layout, center odd one

So, I know Kevin talked about this in a video, but darned if I can remember which one. I have a 2 column grid layout, and if there is an uneven number of items, I want the last item to center at the bottom. His video talked about it being easier in either grid or flex, but I forget the details. Help? Image of what I have attached, and what I want. For the record what I have is just a simple grid with grid-template-columns set to 1fr 1fr Thanks
No description
No description
2 Replies
MarkBoots
MarkBoots7mo ago
with grid, you could do this https://codepen.io/MarkBoots/pen/pomoXZL
No description
Rick
RickOP7mo ago
Perfect, thank you!
Want results from more Discord servers?
Add your server