My sticky header ate a dropdown menu on a demo in front of like 12 people
Spent 20 minutes debugging why the nav dropdown kept vanishing behind the hero image, turned out the sticky header had a z-index of 999 and the dropdown was just sitting at 1. Changed one number and it worked instantly, but I still felt like a clown standing there while everyone watched me scroll around. What's your go-to rule for keeping z-index from turning into a guessing game?