2
Grid vs Flexbox for page layouts - I think Flexbox is actually better for most things
Spent a whole weekend rebuilding a client's landing page in Nashville last fall using CSS Grid. Wound up with nested grids that broke on mobile and took forever to debug. Anyone else find Flexbox simpler for getting responsive layouts done fast?
2 comments
Log in to join the discussion
Log In2 Comments
felix4882d ago
nah man "nested grids that broke" is literally the reason Grid is better if you use it right. you dont nest grids when you can just use grid-template-areas and make the whole thing one layer deep. flexbox turns into a mess of wrappers and calc() that's way harder to maintain later.
8
lily_sullivan822d agoMost Upvoted
Have you actually tried grid-template-areas on a real project yet?
3