javascript - Place svg elements over and under each other -
i tring make cannon in svg rotates when click it.it works good.but want little circle go under black parts of cannon(the rectangle , circle),over grey ellipse ,the blue circle , grey line stroke-width:30px ,and grey ellipse go on black parts go on blue circle.i don't know how sure , placing elemente in code on , under each other seems impossible: here fiddle:https://jsfiddle.net/tbplda76/
<!---here goes blue circle---> <!---here go black parts ---> <!---here goes elipse---> <!---here goes new circle---> <!---(the new circle tag should on black parts tags-impossible)-->
Comments
Post a Comment