View Transitions Playground

A class photo on the teacher’s board: give four cards a view-transition-name, shuffle them through startViewTransition, and the cards move the way the…

Why it matters

Smooth transitions make a UI feel connected instead of jumpy. This used to take the FLIP technique and manual position math; now it is one wrapper and one CSS property. Used for reordering lists, opening details, and page changes (this site uses it too).

The key idea

The browser takes two pictures, then animates them

Common mistakes

Try it in this playground