@view-transition
Controls the browser's native view transition feature. It can be used to enable or disable transitions for specific elements or across the entire document during state changes.
Syntax
/* Usage Example */
@view-transition {
/* Opts the entire document into automatic view transitions for multi-page navigations */
navigation: auto;
}
@view-transition Browser support
Limited availability
Since
2020 82% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
126+
18.2+
126+