flâneur — a map of the web's best reading

Stacking context - CSS: Cascading Style Sheets | MDN

developer.mozilla.org · 1,456 words · saved by 1 readers

Stacking context is a three-dimensional conceptualization of HTML elements along an imaginary z-axis relative to the user, who is assumed to be facing the viewport or the webpage. HTML elements occupy this space in priority order based on element attributes.

Stacking context - CSS | MDN Skip to main content Skip to search Stacking context Stacking context is a three-dimensional conceptualization of HTML elements along an imaginary z-axis relative to the user, who is assumed to be facing the viewport or the webpage. The stacking context determines how elements are layered on top of one another along the z-axis (think of it as the "depth" dimension on your screen). Stacking context determines the visual order of how overlapping content is rendered. Elements within a stacking context are stacked independently from elements outside of that stacking co

Explore this link on the map →

saved by

related reading