Turns out my z-index nightmare was just a stacking context the whole time
Spent two evenings last month fighting a dropdown that kept vanishing behind a card, and I kept cranking the z-index to 9999 like that would fix it. A coworker glanced at it in 10 seconds and pointed at the transform on the parent, which was trapping everything in its own stacking context. What's your go-to move for spotting these before you start throwing numbers around?