+ 2
Question on SVG
<svg height="1000" width="1000"> <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /> <animate attributeName="x" from="1000" to="0" dur="5s" fill="freeze" repeatCount="1000"/> </circle></svg> What’s wrong with the code? Because it will not animate.
3 Respostas
+ 3
Your starting to ending values are wrong
It should be from="0" to="1000"
0
thank you