+ 1
This code not running on my pc, animation doesn't working. please answer, why?
<svg width="1000" height="250"> <rect width="150" height="150" fill="orange"> <animate attributeName="x" from="0" to="300" dur="3s" fill="freeze" repeatCount="2"/> </rect> </svg>
2 Respostas
+ 1
This code works as expected for me... Maybe you're using a more or less outdated browser wich doesn't support svg animation ;P
Try to update your browser and / or install another one ^^
0
visph thanks for your suggestions, I hope it will work.