Hacker News new | ask | show | jobs
by zadokshi 699 days ago
I’ve always used “flex” layout for this. I’m not sure what is considered normal.
2 comments

There’s no normal, but a good rule of thumb that has worked for me is: use flex for one-dimensional layouts, and grids for two-dimensional layouts.
Grid lays out the structural layout, while Flex lays out the content ordering and positioning.