+ 1

Hi I want to know why this circle not move

<svg width="1000" height="250"> <circle cx="70" cy="70" r="50" fill="orange"> <animate attributeName="x" from="0" to="300" dur="3s" fill="freeze" repeatCount="2"/> </circle> </svg>

14th Sep 2018, 4:51 AM
Malak Layth Jamal
Malak Layth Jamal - avatar
4 Réponses
+ 1
Replace attributeName value to cx would make the circle move. https://code.sololearn.com/WHZl7Lr2yQ9H/?ref=app
14th Sep 2018, 6:52 AM
Calviղ
Calviղ - avatar
+ 1
If that doesn't help you should have a look at CSS and Javascript. That's mostly used for formattings and animations these days.
14th Sep 2018, 6:46 AM
SQL Guy
0
Calviղ thanks 😊😊 I do this when follow your information 😊
14th Sep 2018, 9:57 AM
Malak Layth Jamal
Malak Layth Jamal - avatar
- 1
There is nothing that helps to check if it moves or not. Maybe it moves like a wheel. Try to move it into other directions or add a dot somewhere on the circle to see if that moves at least.
14th Sep 2018, 6:45 AM
SQL Guy