W
W
WebDev2018-02-23 00:12:11
css
WebDev, 2018-02-23 00:12:11

How to fix a simple CSS animation?

Here is such a simple code - an animation that makes the block "jump". How can I "speed it up" at the highest and lowest points? That is, when it rises, it seems to "freeze" there for a few moments, but it is necessary that it instantly bounce and not linger. How to achieve this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Varlam, 2018-02-23
@kirill-93

Animation methods:

animation: animation linear 1s 0s infinite;
 /* linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1,x2,x3,x4) */
Taken from here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question