Y
Hacker News
new
|
ask
|
show
|
jobs
by
zadokshi
746 days ago
I’ve always used “flex” layout for this. I’m not sure what is considered normal.
2 comments
danielvaughn
746 days ago
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.
link
Brajeshwar
746 days ago
Grid lays out the structural layout, while Flex lays out the content ordering and positioning.
link