DEV Community

Discussion on: Bounce Animation with Vanilla CSS

Collapse
 
kylefilegriffin profile image
Kyle Griffin

Good approach Ayush. I can see that you have tackled this in a very literal and verbose way, and I don't think there is anyone who can really argue against doing it this way.

My immediate question is, how close to the animation can we get if we use cubic-bezier on the animation-timing-function instead?

Collapse
 
abthakur profile image
Ayushman

In my post, I tried to achieve the goal with simplicity in mind. I don't think I totally understand the concept of cubic-bezier properly. I don't think myself skilled enough to explain how or why it happened which I did, if I did it with cubic-bezier