T
T
TheRevan2019-06-27 10:08:14
css
TheRevan, 2019-06-27 10:08:14

How to animate an image along a path?

There is a slider: It is 76f43c92f9.jpgnecessary that before changing the slide (on the first and second) the icon runs the path along the given trajectory for no more than 0.5 seconds
. That is, there will be a delay literally before changing the slide. How to implement it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2019-06-27
@TheRevan

Make it absolute, set the coordinates for each stage in keyframes, set the animation time to
4.5s The second option is to animate the entire trajectory through svg, the essence is the same, but instead of frames, immediately knit on js

M
Marichka15, 2019-07-25
@Marichka15

https://css-tricks.com/guide-svg-animations-smil/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question