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

SVG Path animation

How can I animate SVG path? This code doesn't work!? <svg width="500" height="500"> <path d="M 0 0 L200 200 L200 0 Z" style="stroke:#000; fill:none;" > <animate attributeName="x" from="0" to="300" dur="3s" fill="freeze" repeatCount="2"/> </path> </svg>

20th Jul 2017, 9:22 PM
Rius Fomi
Rius Fomi - avatar
1 Answer
20th Jul 2017, 9:44 PM
Elie Douaihy
Elie Douaihy - avatar