Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Every animation in this video was done with document.startViewTransition() and view-transition-name ONLY

21,365 Aufrufe • vor 1 Jahr •via X (Twitter)

7 Kommentare

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

yeah - playing cards was one of the first View Transitions demos I messed about with (before it got the rename) lot of fun - in earlier versions it could somewhat handle 3D transforms too

Profilbild von Manu
Manuvor 1 Jahr

This API is so underrated. I have used it to animate page transitions and it was extremely easy to make it work. I think most people overlook this as animations used to be more complicated to set up, and we are still blocked by that trauma.

Profilbild von Scott Tolinski - Syntax.fm
Scott Tolinski - Syntax.fmvor 1 Jahr

@manuaveragedev So true.

Profilbild von Mateusz Derks
Mateusz Derksvor 1 Jahr

Nice! I used view transitions to animate card movement as well here: The only thing that stopped me for more than a minute was addressing a few issues with z-index, other than that it was a breeze.

Profilbild von Christian Genco
Christian Gencovor 1 Jahr

oh hey `startViewTransition` works on everything except Firefox—I gotta start using this.

Profilbild von Sean Wilson
Sean Wilsonvor 1 Jahr

I think browser support is the main blocker? Looks like View Transitions is supported in Chrome and the latest Safari? Not finding anything about when it's coming to Firefox. Found a polyfill for it but it's 300K.

Profilbild von Beto Melean
Beto Meleanvor 1 Jahr

Could this work with Rive assets?

Ähnliche Videos