F
8

Spent 4 hours fighting a CSS grid that wouldn't center on mobile

Turns out I forgot a 'max-width' on the parent container and it was stretching past the viewport. Anyone else waste a whole afternoon on something that dumb?
2 comments

Log in to join the discussion

Log In
2 Comments
sandragrant
Spent a whole Tuesday debugging a flexbox gap issue once. Turned out I had a typo in the property name. Wrote "gap" instead of "gap" - same word, still wrong.
6
dakota_miller93
Gap" instead of "gap" is the kind of bug that makes you question your own sanity, I heard someone say that's the worst kind of CSS typo.
7