Improve and question about Grid
Is the current grid layout okay, or are there ways to improve it? Additionally, if two cards are placed next to each other and a third one below them, is it possible to center the third element? https://codepen.io/Redcaus12345/pen/qEBaKor
4 Replies
Or should I use flex-box
Kevin Powell
YouTube
Center the bottom row when using grid auto-fit
Grid’s auto-fit is amazing, but sometimes it would be nice if the bottom row could be centered instead of always starting on the left side. Well, after being inspired by Ryan Mulligan, I figured out a way to do it!
I’ll be honest, it’s not the simplest thing in the world, but there’s a lot to learn in getting it working, and once you understan...
Thanks but would you recommend me to use flexbox instead
looks to me like a grid layout but you can use either