0

I have an absolute element inside of a fixed element. When another element further in the DOM is absolute with a negative margin to (sometimes) cover the above element, z-index does not have any effect: https://jsfiddle.net/esqg4aw2/42/

I thought z-index was supposed to override everything?

I know I could make them sibling elements to get around this, but this is being used as a drop-menu, so there needs to be a parent-child arrangement to inherit :hover

Temani Afif
  • 245,468
  • 26
  • 309
  • 415

0 Answers0