Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zadokshi
· 2y ago · 0 comments
I’ve always used “flex” layout for this. I’m not sure what is considered normal.
Comments
[–]
danielvaughn
2y 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.
[–]
Brajeshwar
2y ago
Grid lays out the structural layout, while Flex lays out the content ordering and positioning.