CSS · Properties — CSS View Transitions

view-transition-name

The CSS view-transition-name property. Initial value: none. Not inherited.

Syntax
view-transition-name: none | <custom-ident> | match-element

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

More in this group

view-transition-class view-transition-scope

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course