0

Why svg polygon animation is not working.

<svg height="500" width="500"> <polygon stroke="black"fill="red" points="250 75, 250 60,265 60,260 65,270,75,264 80,255 70"> <animate attributeName="x" from="250" to="100" dur="3s" fill="freeze" repeatCount="2"></animate> </polygon> </svg>

24th Nov 2018, 5:59 PM
Aditya Raj
Aditya Raj - avatar
2 odpowiedzi
+ 1
I'm not sure, but I think you need the animateMotion element. It works me not in the app but in the browser. https://code.sololearn.com/WxCkE3pwLViL/#html
24th Nov 2018, 8:08 PM
dozule
dozule - avatar
+ 1
Thanks for your help, finally i can do what i was wanted to do.
25th Nov 2018, 3:58 AM
Aditya Raj
Aditya Raj - avatar