H
21

Thought flexbox was overhyped until I rebuilt a forum thread layout with it

I spent years using floats and clearfixes for everything. Looked at flexbox tutorials and figured it was just another trend that would fade. Then last month I had to fix a forum theme where 12 user profiles in a thread kept stacking wrong on mobile. Floats gave me 4 hours of headache. Switched to flexbox and had it sorted in 20 minutes. The responsive wrapping alone sold me. Has anyone else resisted a CSS tool for years then finally caved?
3 comments

Log in to join the discussion

Log In
3 Comments
the_mason
the_mason1mo ago
Yeah flexbox just clicks once you actually use it on a real layout problem.
10
james_clark
The first time I used it was on a comment section where each post had an avatar, username, timestamp and text. Wrapping those four items with flex-wrap saved me like 50 lines of float cleanup code.
8
sean_murray
Wasted a decade fighting floats just to surrender to flexbox in 20 minutes.
0