2 ms·
you can't use css z-index to control how shapes (circle, rect, path...) inside an svg overlap. those later in the tree are the ones on top.
by locallost 6y ago
you can't use css z-index to control how shapes (circle, rect, path...) inside an svg overlap. those later in the tree are the ones on top.
- austincheney 6y agoHere is the answer from the specification: https://www.w3.org/TR/SVG2/render.html#EstablishingStackingContex https://www.w3.org/TR/SVG2/render.html#EstablishingStackingC...