This is the first of two pages. The heading has
view-transition-name: page-heading. Navigate to Page B and
watch it slide across - no JavaScript, just
@view-transition { navigation: auto } in both pages' CSS.
The background cross-fades separately because the whole page gets a default fade on top of the named-element animation.