0
Why couldn't I animate a circle with this code?
<svg width="2000" height="2000"> <circle cx="170" cy="60" r="50"fill="green" > <animate attributeName="y" from="0" to ="300" dur="2s" repeatCount="2" fill="remove" /> </circle> </svg>
1 Answer
+ 4
Because <circle> element have no 'y' attribute to be animated ^^
You should use 'attributeName="cy"'...