Our public pages hold 5,693 stacking contexts and nine z-indexes, and the drawings that make most of them ignore z-index completely
DEV Community
Our public pages hold 5,693 stacking contexts and nine z-indexes, and the drawings that make most of them ignore z-index completely
A layering audit of a Next.js app. Zero z-index declarations in 865 lines of CSS, 33 Tailwind z- utilities with five distinct values, and a live count that finds 70 stacking contexts on a page that uses no z-index at all. Plus a one-line demo that z-index does nothing inside an SVG.
0 comments
No comments yet.