hard20 pts · first answer countscssstacking-context
z-index that does not work
A modal has position: fixed; z-index: 9999 but appears behind a header with z-index: 10. The modal is inside a parent with transform: translateZ(0) and z-index: 1. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Width with border-boxFrontend Developer
- Centering with FlexboxFrontend Developer
- What 1rem is relative toFrontend Developer
- Where absolute elements are placedFrontend Developer
- Hiding an element but keeping its spaceFrontend Developer
- Media query for mobile-first CSSFrontend Developer
- Which CSS rule winsFrontend Developer
- Which value a CSS variable takesFrontend Developer