2,240 views
My google avatar.
devrel@google
notecss

To give View Transitions a perspective, either:

::view-transition-image-pair(--foo) {
  perspective: 500px;
}
/* or */
::view-transition-new(--foo) {
  transform: perspective(500px);
}

Hope this finds someone well.

2 comments #

190likes

schalkneethling.com, finxol.io, handle.invalid and 163 more

12reposts

and 9 others

Join the conversation on

Adam: Do you have an example where this would work well? tried fiddlin' a bit around with it - but I guess its relevant for 3D transforms only?
Lars Ejaas ????Lars Ejaas ????