Frontend

Z-index

z-index only affects positioned elements (position: relative, absolute, fixed, sticky). Higher z-index means closer to the viewer. Modal dialogs, dropdowns, tooltips all rely on it. Establish a z-index scale in your design system to avoid arms races.

Chat With Us!