Загрузка видео...

Не удалось загрузить видео

На главную

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

21,365 просмотров • 1 год назад •via X (Twitter)

Комментарии: 7

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

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
Manu1 год назад

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
Scott Tolinski - Syntax.fm1 год назад

@manuaveragedev So true.

Фото профиля Mateusz Derks
Mateusz Derks1 год назад

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
Christian Genco1 год назад

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

Фото профиля Sean Wilson
Sean Wilson1 год назад

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
Beto Melean1 год назад

Could this work with Rive assets?

Похожие видео