Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

21,365 görüntüleme • 1 yıl önce •via X (Twitter)

7 Yorum

jhey ▲🐻🎈 profil fotoğrafı
jhey ▲🐻🎈1 yıl önce

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

Manu profil fotoğrafı
Manu1 yıl önce

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.

Scott Tolinski - Syntax.fm profil fotoğrafı
Scott Tolinski - Syntax.fm1 yıl önce

@manuaveragedev So true.

Mateusz Derks profil fotoğrafı
Mateusz Derks1 yıl önce

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.

Christian Genco profil fotoğrafı
Christian Genco1 yıl önce

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

Sean Wilson profil fotoğrafı
Sean Wilson1 yıl önce

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.

Beto Melean profil fotoğrafı
Beto Melean1 yıl önce

Could this work with Rive assets?

Benzer Videolar