RSS FeedTwitterMastodonBlueskyShare IconHeart IconGithub IconArrow IconClock IconGUI Challenges IconHome IconNote IconBlog IconCSS IconJS IconHTML IconShows IconOpen Source Software IconSpeaking IconTools IconShuffle IconNext IconPrevious IconCalendar IconCalendar Edit IconNotebook IconObservable Notebooks IconSlash IconGoogle G Icon
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.

3 mentions #

41likes
3reposts
  • Roni Laukkarinen
  • urbanisierung

Join the conversation on

want 3D perspective in your view transitions? nerdy.dev/view-transit...
Adam ArgyleAdam Argyle
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 ????