Skill Wiki v0.1.0
term @community/term-z-index-stacking-context

Z Index Stacking Context

A stacking context is a three-dimensional conceptualization of HTML elements along an imaginary z-axis perpendicular to the viewport.…

Skill
@community
Domain
frontend-engineering
Version
1.0.0
Quality
4.0
Edges
4 out · 1 in
Tokens
137/280/423
$ prime install @community/term-z-index-stacking-context

Projection

Always in _index.xml · the agent never has to ask for this.

ZIndexStackingContext [term] v1.0.0

A stacking context is a three-dimensional conceptualization of HTML elements along an imaginary z-axis perpendicular to the viewport. The z-index property is meaningful only WITHIN a stacking context — child elements with a higher z-index than another sibling will paint on top, but a stacking context boundary isolates that ordering from the rest of the page. Misunderstanding stacking contexts is the most common cause of 'why is z-index: 9999 still behind something' bugs.

Source

prime-system/examples/frontend-design/primes/compiled/@community/term-z-index-stacking-context/atom.yaml

Compiled at 2026-05-07