How to rotate any svg animation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to rotate any svg animation

In Svg animation how to rotate any object & how to animate line, ploygone,ellipse,polyline etc. https://code.sololearn.com/WeYWjoGg6rCQ/?ref=app

7th May 2019, 5:40 AM
Bhupender
Bhupender - avatar
2 Answers
+ 6
<line x1="50" y1="50" x2="100" y2="200" style="stroke:yellow; stroke-linecap:round; stroke-width:10" > <animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 60 70" to="360 60 70" dur="10s" repeatCount="indefinite"/> </line>
7th May 2019, 6:57 AM
Calviղ
Calviղ - avatar
- 1
Njkk
7th May 2019, 1:40 PM
Harshad Patel
Harshad Patel - avatar