How to use z-index in svg elements?
I’m using the svg circles in my project like this, <svg xmlns=”http://www.w3.org/2000/svg” viewBox=”0 0 160 120″> <g> <g id=”one”> <circle fill=”green” cx=”100″ cy=”105″ r=”20″ /> </g> <g id=”two”> <circle fill=”orange” cx=”100″ cy=”95″ r=”20″ /> </g> </g> </svg> And I’m using the z-index in the g tag to show the elements the first. In my project … Read more