FLIP animation technique

An animation trick: record an element's first position, move it to its last position, invert the difference with a transform, then play the transform back to zero.

In more detail

FLIP stands for First, Last, Invert, Play. It turns layout changes into cheap transform animations, and the View Transitions API now does much of this natively.

Related terms

Taught in

References