New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
z-index: 999 on a dropdown. It still renders behind a section with no z-index at all.
What you'll have at the end
The dropdown or modal renders above everything else, with the stacking context that caused the bug identified and written down
You need
A dropdown, tooltip, or modal that already has position set to absolute or fixed and a real z-index, but still renders underneath a section elsewhere on the same page.
Not covered
An element that's clipped or cut off rather than fully covered by another section: that's overflow clipping on a parent, a different bug with a different fix.
Leans on
Checked 20 Aug 2026
Part of the CSS cookbook