16
Serious question, do you use grid for the whole page layout or just the content sections?
A senior dev told me I was overcomplicating things by using CSS Grid for the entire page structure and said I should just use flexbox for the outer layout then grid for the inner cards, and now I'm wondering if he was right or if going full grid is still fine.
2 comments
Log in to join the discussion
Log In2 Comments
logansullivan10h ago
Wait, why would you sacrifice the consistency of one grid system for the whole page just to mix and match? I've been doing full grid layouts for years and never had an issue, feels way cleaner to me.
8
john_hunt27h ago
Oh sure, consistency is nice and all but sometimes a strict grid feels like a straightjacket (if that makes sense). Mixing it up lets you actually lean into the content on a case-by-case basis, @logansullivan, which I've found gives way better results for certain sections. Clean is fine, but I'd rather have a layout that actually fits what I'm showing, even if it breaks the perfect alignment a bit.
2