Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
You may find answer in https://codepen.io/AliKlein/pen/epMaLM, wherin interalia, how to do with html, also has been elucidated.
30th Mar 2020, 7:19 AM
narayanaprasad
narayanaprasad - avatar
+ 1
Yes, It can be animated eg, Let, You made a dragon using path. in animatin : it will show how you drew it. here you go for awesomeness: https://css-tricks.com/svg-path-syntax-illustrated-guide/ https://css-tricks.com/svg-line-animation-works/
30th Mar 2020, 11:49 AM
Absolute Zero ϟ
Absolute Zero ϟ - avatar
+ 1
285 is path length, i got it by a stupid but effective method : trial and error
30th Mar 2020, 3:33 PM
Gordon
Gordon - avatar
+ 1
EX:- https://code.sololearn.com/W0txWg4obC59/?ref=app this code help to animate svg
31st Mar 2020, 5:56 AM
SAN
SAN - avatar
0
strokedashoffset
29th Mar 2020, 2:50 PM
Gordon
Gordon - avatar
0
stroke-dasharray is, instead of whole path being solid, it becomes dashed according to your array. stroke-dashoffset is to adjust the beginning of the dashes. This is copied from Mozilla Doc: https://code.sololearn.com/WtrhY7A9p9LJ/?ref=app https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dashoffset
29th Mar 2020, 3:07 PM
Gordon
Gordon - avatar