svg animate | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

svg animate

Hello everyone. Why doesn't the circle move? <svg width="1000" height="1000"> <rect width="150" height="150" fill="orange"> <animate attributeName="x" from="0" to="300" dur="3s" fill="freeze" repeatCount="4"/> </rect> <circle cx="75" cy="75" r="75" fill="orange"> <animate attributeName="y" from="0" to="300" dur="3s" fill="freeze" repeatCount="4"/> </circle> </svg> Regards.

9th Nov 2019, 10:28 PM
Timur
1 Answer
+ 1
I found a reason. <animate attributeName="y" no correct <animate attributeName="cy"
9th Nov 2019, 11:08 PM
Timur