0
Why my animation code doesn't work?
<svg width="300" height="400"> <circle cx="100" cy="130" r="85" fill="green" style="stroke:red"/> <animate attributeName="fill" from="red" to="yellow" dur="4s" fill="freeze"repeatcount"2"/> </circle> </svg>
2 Answers
+ 2
Check the "/" before end of opening tag ,remove it and also it's replaceCount="2"
<circle cx="100" cy="130" r="85" fill="green" style="stroke:red"/>
0
It worked. Thank you very much.