DEV Community

Discussion on: CSS z-index illustrated

Collapse
 
anfibiacreativa profile image
Natalia Venditto

A stacking context will simply tell you where each element belong because we have another important concept which is the painting order and this one will decide which element will be above or below another one.

The importance of order is already mentioned in the article, although I don't refer to it by the technical term "painting order"

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
anfibiacreativa profile image
Natalia Venditto

Yes, that's a nuance. But it definitely weighs in the decision.