Elastic easing in CSS3, best approach

前端 未结 2 1670
既然无缘
既然无缘 2020-12-14 09:37

I\'d like to emulate an elastic easing function in CSS3. CSS3 does not support this natively, so I\'ve been coming up with my own keyframes, and it looks okay, but

2条回答
  •  别那么骄傲
    2020-12-14 10:04

    Lots of great cubic-bezier transitions available here:

    http://easings.net/

    Something like this might be what you want:

    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55); 
    

提交回复
热议问题