When dealing with complex CSS animations, there is a tendency to create expansive @keyframes with lots of declarations. There are a couple of tricks that might help make things easier, while staying in vanilla CSS. Timing functions are more widely used and familiar but the second one is less common. There’s one especially neat

11m read timeFrom css-tricks.com
Post cover image
Table of contents
TheParabolic curveSinusoidal curveGetting back to our example

Sort: