Cross-document view transitions for multi-page applications

Cross-document view transitions for multi-page applications

When a view transition occurs between two different documents it is called a cross-document view transition. This is typically the case in multi-page applications (MPA). Cross-document view transitions are supported in Chrome from Chrome 126.

[…]

The origin of a page is a combination of the used scheme, hostname, and port, as detailed on web.dev.

[…]

To have a cross-document view transition between two documents, both participating pages need to opt-in to allowing this. This is done with the @view-transition at-rule in CSS.

[…]

To customize cross-document view transitions, there are some web platform features that you can use.

[…]

Before you go all-in on render blocking be aware that incremental rendering is a fundamental aspect of the Web, so be cautious when opting to blocking rendering. The impact of blocking rendering needs to be evaluated on a case by case basis. By default, avoid using blocking=render unless you can actively measure and gauge the impact it has on your users, by measuring the impact to your Core Web Vitals.

[…]