Welcome to View Transition By Example
A place to see what is possible using the View Transition API.
-
Example 1: Basic →
Basic website, er, 'MPA' behavior, using just a <meta> tag.
-
Example 2: Zoom in/out →
MPA behavior using a <meta> tag and some CSS animation
-
Example 3: Flip Animation →
MPA behavior using a <meta> tag and some CSS animation
-
Example 4: Slide In / Out Animation →
MPA behavior using a <meta> tag and some CSS animation
-
Example 5: Slide Up / Down Animation →
MPA behavior using a <meta> tag and some CSS animation
-
Example 6: Flip In / Flip Out Animation →
MPA behavior using a <meta> tag and some CSS animation. Don't actually do this one.
As of Chrome 118, SPA view transitions are enabled by default. To see the MPA transitions on this site, you'll need to enable the view transition navigation flag in Chrome at chrome://flags/#view-transition-on-navigation.
The name for this site was inspired by Rachel Andrew's excellent Grid by Example, which taught me so much about CSS grid.
©copyright 2024 Chip Cullen