::view-transition-image-pair
The CSS ::view-transition-image-pair
pseudo-element is part of the View Transitions API that lets us select the “before-and-after” snapshots in a view transition.
::view-transition-image-pair(root) {
animation-duration: 1s;
}
…