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

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -