Hacker News new | past | comments | ask | show | jobs | submit login

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.



Here is the answer from the specification: https://www.w3.org/TR/SVG2/render.html#EstablishingStackingC...




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: