All 35 Bugs /
0/35 Fixed ✓
HTML/CSSEasy~8 min

Overlapping Sticky Navbar & Z-Index Trap

What's Broken (Symptom)

As you scroll down the feed, elevated product cards slide ON TOP OF the sticky navbar and block clicks.

Expected Behavior

  • Sticky `.site-nav` stays pinned at `top: 0` while scrolling.
  • `.site-nav` always paints above `.promo-card` (`z-index` higher than cards).
  • Clicking the nav button works cleanly even after scrolling past the cards.

Debugging Hints (0/2 used)

Try spotting the bug in the editor first. Need a nudge? Reveal Hint 1 anytime.

Root Cause Breakdown

Pass all 3 automated verification checks on the right to unlock the full Root Cause explanation.

Automated Bug Verification

3 Checks Ready
  • Navbar uses position: sticky and top: 0Header must remain sticky at the top edge.
  • Sticky navbar z-index beats elevated promo cardNav z-index must numerically exceed promo-card z-index.
  • Nav button stays clickable at top after scrolling feedelementFromPoint over nav button must hit nav, not card.
bugfix.html
Live Sandboxed PreviewCtrl + Enter to verify
Console Output0 log(s)
No console output yet. Run Preview or Verify Bug Fix.