V
V
vvvadimos2016-06-24 16:24:46
css
vvvadimos, 2016-06-24 16:24:46

How to make an element move along an arc?

sorry for my drawing talent)
prntscr.com/bkgwf6
this is how the element should move, like falling, jumping sideways and then sideways again.
this can be done realistically using css keyframes, but I only see a way to set a thousand points for moving along such a trajectory. and it will take a lot of time to do so. does anyone know how to make it easier?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Daniil Igorevich, 2016-06-24
@vvvadimos

It is enough to set the points in the marked places or, most likely, it will also work without some, but edit it yourself where necessary
40d8813d3ac044b682feb63ed8358097.png

M
Minary, 2016-06-24
@Minary

Try using SVG along the path element, article - https://habrahabr.ru/post/207908/
Example - bl.ocks.org/KoGor/8163268

D
Dmitry Kravchenko, 2016-06-24
@mydearfriend

animate the element along some kind of "bounce-like" bezier curve, while shifting its parent linearly (or not so much, as you like)
profit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question