Loading...
::view-transition-old(hero) {
animation-duration: 1s;
}::view-transition-group(hero) {
animation-duration: 1s;
}Position and size animate on the group, and the old and new images take their duration from it.
::view-transition-old() for movement, while position and size animate on the group.::view-transition-group().view-transition-name, or * for all.@media (prefers-reduced-motion: reduce).Target ::view-transition-group(*), since the old and new images inherit the duration from their group.
The group for the page snapshot, which the browser names 'root' by default.