19
Tried flexbox for the first time and my navbar exploded on mobile
Spent 2 hours last night fighting with a nav menu that looked perfect on desktop but turned into a jumbled mess on my phone, turns out I forgot to add flex-wrap and now I finally get why everyone keeps warning beginners about it, anyone else had a layout break in a place you least expected?
1 comments
Log in to join the discussion
Log In1 Comment
ivan4621d agoTop Commenter
Ever notice how most things that work fine with plenty of room fall apart when you squeeze them into a tight space? Same thing happens with closets, car trunks, or even a full grocery cart. Flexbox just reminded you that stuff needs room to breathe and a plan for when it runs out. Once you get that, layout bugs start to feel way less random.
8