+ 5

What can make my animation image not to move?

12th Aug 2017, 10:13 AM
Elizabeth muli
Elizabeth muli - avatar
8 Answers
+ 6
<svg width="1000" height="250"> <rect width="150" height="80" fill="green"> <animate attributeName="x" from="0px" to="300px" dur="3s" fill="freeze" repeatCount="4"> </rect> </svg> you forgot to write equal sign (=) between to and "300" to "300px" ❌ to="300px" ✔ you forgot to write px for positions from="0" ❌ from="0px" ✔
13th Aug 2017, 6:28 AM
Amethyst Animion
Amethyst Animion - avatar
+ 5
code please
12th Aug 2017, 10:50 AM
Amethyst Animion
Amethyst Animion - avatar
+ 5
it worked Thanks everyone
25th Aug 2017, 7:06 PM
Elizabeth muli
Elizabeth muli - avatar
+ 4
<svg width="1000" height="250"> <rect width="150" height="80" fill="green"> <animate attributeName="x" from="0" to "300" dur="3s" fill="freeze" repeatcount="4"> </rect> </svg>
12th Aug 2017, 11:30 AM
Elizabeth muli
Elizabeth muli - avatar
+ 4
iteration count
25th Aug 2017, 7:12 PM
Elizabeth muli
Elizabeth muli - avatar
+ 2
still not working
13th Aug 2017, 8:58 AM
Elizabeth muli
Elizabeth muli - avatar
+ 1
position: absolute; (CSS3)
1st Sep 2017, 10:56 AM
Austin Nzioka
Austin Nzioka - avatar
21st Jul 2020, 3:11 AM
shubham kumar
shubham kumar - avatar