Skip to main content

Animation Timing Function

Set how an animation progresses through each cycle.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

atf:l
animation-timing-function: linear;
atf:ei
animation-timing-function: ease-in;
atf:eo
animation-timing-function: ease-out;
atf:io
animation-timing-function: ease-in-out;

Media Queries

Prefix a class with a breakpoint to apply it from that width up.

Pseudo Classes

Prefix a class with a state to apply it only while that state matches.