svg animate | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 1
I found a reason. <animate attributeName="y" no correct <animate attributeName="cy"
9th Nov 2019, 11:08 PM
Timur