MDN self-hosted library · e01.org

CSS view transitions

The CSS view transitions module defines the behavior of the View Transition API, which allows developers to create animated transitions between different states within a document and across documents. This module also defines the CSS properties and pseudo-elements for styling these transitions.

no runnable cells css-module upstream source

The CSS view transitions module defines the behavior of the View Transition API, which allows developers to create animated transitions between different states within a document and across documents. This module also defines the CSS properties and pseudo-elements for styling these transitions.

Reference

Properties

  • view-transition-class
  • view-transition-name
  • view-transition-scope

At-rules and descriptors

Selectors and pseudo-elements

  • :active-view-transition
  • :active-view-transition-type()
  • ::view-transition
  • ::view-transition-image-pair()
  • ::view-transition-group()
  • ::view-transition-new()
  • ::view-transition-old()

Interfaces

  • CSSViewTransitionRule
  • ViewTransition
  • ViewTransition.skipTransition() method
  • ViewTransition.updateCallbackDone
  • ViewTransition.ready
  • ViewTransition.finished
  • ViewTransition.transitionRoot
  • Document.startViewTransition() method
  • Document.activeViewTransition
  • Element.startViewTransition() method
  • Element.activeViewTransition

Guides

Specifications

See also