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>
2 Antworten
+ 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
+ 1
Thanks for your help, finally i can do what i was wanted to do.