Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

View Transitions are a gift 🎁 One set of CSS keyframes and a scoped custom property to ::view-transition-old/new(body) 🚀

142,262 görüntüleme • 2 yıl önce •via X (Twitter)

10 Yorum

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

Here's the @CodePen link people! 🤙 Could do something neat with the blueprint vibe. Would be rad if you could do 3D in ::view-transition or get an extra pseudoelement from somewhere 🤔 Had some fun ideas for it!

Mike Smedley profil fotoğrafı
Mike Smedley2 yıl önce

The demo is great but my god the tab bar 😂😂

🏴 uɒɹɥəɯ profil fotoğrafı
🏴 uɒɹɥəɯ2 yıl önce

FYI #cs_internship @maryam_davoudi @Ali_Sdg90

GrahamTheDev profil fotoğrafı
GrahamTheDev2 yıl önce

Love it, does focus get maintained if you activate the button via keyboard or would you need to do some JS magic? I am guessing it would behave like a refresh being a view transition? 🤷💗

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

Nah - You don't need to do anything. View Transitions are two snapshots of the DOM state. Nothing changes unless you change it within the spot where you update the DOM 🤙 I'll snap a clip of it

ptr profil fotoğrafı
ptr2 yıl önce

@Apple @mozilla neat right?

Fredrik Tibbling profil fotoğrafı
Fredrik Tibbling2 yıl önce

Great stuff 🤩

Tyson Skakun profil fotoğrafı
Tyson Skakun2 yıl önce

Get out of town. Thats sick

trixster profil fotoğrafı
trixster2 yıl önce

good work. as a user does that do more good than harm?

Hruthik Reddy profil fotoğrafı
Hruthik Reddy2 yıl önce

oh my oh my what did I just see.

Benzer Videolar