+ 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
2 Réponses
+ 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>
- 1
Njkk