demo · v140

Property Matrix

Which animation-* properties propagate through the view-transition pseudo tree. Chrome 139 inherited duration and delay; 140 adds timing-function, iteration-count, direction, fill-mode, and play-state.

animation-* propertypre-139v139v140 (new)
durationnoinheritsinherits
delaynonoinherits
timing-functionnonoinherits
iteration-countnonoinherits
directionnonoinherits
fill-modenonoinherits
play-statenonoinherits
namenonono (always picked by VT engine)

Note: animation-name is the only one that doesn't inherit; the VT engine assigns the keyframe set itself based on the snapshot type (old, new, image-pair, etc.).

/* All of these now flow into ::view-transition-* pseudos */
.tile {
  animation-timing-function: cubic-bezier(.4,0,.2,1);
  animation-iteration-count: 2;
  animation-direction: alternate;
  animation-fill-mode: backwards;
}

see also

scenario focus

Select a scenario to focus its rendered example and summary.