📢
18
c/coding-for-beginners•abbyr96abbyr96•1mo ago

That one piece of advice about CSS Flexbox that totally backfired on me

My buddy Mark said I should use Flexbox for everything in my first website project, so I did it on every single layout. Turns out, it made my site look great on desktop but completely broke on mobile and I spent 6 hours fixing it. Has anyone else gotten bad advice from a friend who swore their way was the best?
2 comments

Log in to join the discussion

Log In
2 Comments
grace_fox3
grace_fox31mo ago
Yeah flexbox is more of a tool, not a cure all. Live and learn I guess.
4
the_robert
the_robert1mo ago
Hang on though, Flexbox is actually great for mobile layouts too if you use flex-wrap right.
4