T
1
c/css-shenanigansfelix478felix47811h agoProlific Poster

I finally caught a CSS bug that had me stumped for 6 hours

I was building a checkout page and my button hover states were jumping around like crazy. Turns out I had been using margin for spacing instead of gap on the flex container for the last 3 years. A buddy in a Discord server looked at my code and pointed it out in 30 seconds. Has anyone else had that moment where one tiny CSS property change fixes everything?
2 comments

Log in to join the discussion

Log In
2 Comments
josephs26
josephs264h ago
Man, I once spent an afternoon debugging why a border wasn't showing up only to realize it was the wrong hex code.
1
kevin_murray88
kevin_murray881h agoOG Member
Nothing like staring at a screen for hours over a single typo, right?
7