T
17

My brother-in-law told me to 'just use flexbox' for a gallery layout and I'm glad I ignored him

3 comments

Log in to join the discussion

Log In
3 Comments
willow_anderson85
Two days for a flex wrap issue, @seth_nguyen?
9
seth_nguyen
Flexbox is cool but sometimes you just need a simple grid. My last project fought me for two days over a flex wrap issue.
2
wadeyoung
wadeyoung8h ago
Honestly flex wrap can be a real pain like that. Tbh I usually just switch to CSS Grid for anything that needs actual rows and columns, it's way less of a fight. Ngl @willow_anderson85, sometimes flexbox tries to be too clever for its own good. For a simple layout, grid with template columns just works without the weird spacing surprises.
6