A
A
Alexander2015-09-10 04:22:22
css
Alexander, 2015-09-10 04:22:22

How to make a polyline appear smoothly with a caption in svg?

Hello. I did not find a simple and sensible tutorial on svg animation. Tell me how to animate a broken line and a signature in svg as in the picture (the arrows show how the animation of the appearance of the line should go)?cd0a7e671ff24ee19ea01aa387ce365e.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#rybak, 2015-09-11
@Alexander_Ku

Alexander : note:
- Animation through the property stroke-dasharray: 1000; doesn't work in half the browsers.
- Animation with the animate tag suggested by Drm is a more cross-browser option.
- By the way, your animation is very simple, it can be done without svg, using css3. Here is an example for you

D
Drm, 2015-09-10
@Drm

If I understand you correctly, then, respectively, combine two lines into one path and animate it by increasing the stroke-dashoffset property

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question