Why is the stroke of both <use>
elements being ignored here? The stroke color of <circle>
is set to blue, which is also appearing on both <use>
elements. Why?
I am trying to set different stroke colors for all three of these elements, but it doesn't seem to be working.
<svg width="300" class="svg-elem" viewBox="0 0 30 10" xmlns="http://www.w3.org/2000/svg">
<circle id="myCircle" cx="5" cy="5" r="4" stroke="blue"/>
<use class="circle1" href="#myCircle" x="10" stroke="grey" fill="blue"/>
<use href="#myCircle" x="20" fill="white" stroke="red"/>
</svg>