Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Future UI && CSS Tip! 🔮 You could use View Transitions to animate CSS grid position and create an OSX-style exposé for a portfolio 🔥 It's a grid where things move based on state. Wrapped in a VT 🤙 [data-expose] section{ grid-area:var(--x)/var(--y); } CodePen.IO link below 👇

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

13 Yorum

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

Here's that @CodePen link! 🚀 You'll need to be in Chrome to see it as it uses the View Transitions API and the Popover API 🤓

Safari Web Extensions profil fotoğrafı
Safari Web Extensions1 yıl önce

Discover the top Safari web extensions to boost productivity, enhance workflow, and customize your browsing experience on Mac, iOS, and iPadOS.

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

To be honest, I just wanted to see how you might be able to use the new APIs in combo to create this kind of UI/UX 😅 Been exploring different types of portfolio design and essentially this is "Just Tabs". But, presented in a funky way. You could also do some magic with images.

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

For example, if you know what the other pages look like, you could show images as the link placeholders in "exposé" mode. And to do that, you _could_ snapshot some images of your pages at build time or something with Puppeteer which would be fun 🤔 Then View Transition between!

Deepak Yadav profil fotoğrafı
Deepak Yadav2 yıl önce

@CodePen omg! For a moment I thought why are you switching apps. ❤️‍🔥❤️‍🔥❤️‍🔥❤️‍🔥❤️‍🔥❤️‍🔥♥️♥️

Wellington Alves 🖥 profil fotoğrafı
Wellington Alves 🖥2 yıl önce

@CodePen >>>

Devestor profil fotoğrafı
Devestor2 yıl önce

@CodePen Does not work in FF?

miraclemenikelechi profil fotoğrafı
miraclemenikelechi2 yıl önce

@CodePen just got a portfolio idea 💡

Tomas Jansson profil fotoğrafı
Tomas Jansson2 yıl önce

@CodePen I think this would be a nice combo with @nextjs parallel routes.

miraclemenikelechi profil fotoğrafı
miraclemenikelechi2 yıl önce

@CodePen can I implement this with react?

Helge Ahrens profil fotoğrafı
Helge Ahrens2 yıl önce

@CodePen @raunofreiberg

E.I.R.M🐐 profil fotoğrafı
E.I.R.M🐐2 yıl önce

@CodePen @Descargar_Bot

Niall Maher profil fotoğrafı
Niall Maher2 yıl önce

@CodePen Super slick

Benzer Videolar