FLIP animation

FLIP (First, Last, Invert, Play) animates a layout change cheaply: measure where an element was, let it jump to its new place, move it back with a transform, then animate the transform to zero.

Layout properties like top, width or grid position are slow to animate. FLIP turns any layout change into a transform animation, which the browser can run on the compositor at 60 fps.

It is how lists re-sort with each row sliding to its new place, and how a card can grow into a full page.

See it live

Related terms