Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 2 Jahren •via X (Twitter)

13 Kommentare

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 2 Jahren

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 🤓

Profilbild von Safari Web Extensions
Safari Web Extensionsvor 1 Jahr

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

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 2 Jahren

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.

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 2 Jahren

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!

Profilbild von Deepak Yadav
Deepak Yadavvor 2 Jahren

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

Profilbild von Wellington Alves 🖥
Wellington Alves 🖥vor 2 Jahren

@CodePen >>>

Profilbild von Devestor
Devestorvor 2 Jahren

@CodePen Does not work in FF?

Profilbild von miraclemenikelechi
miraclemenikelechivor 2 Jahren

@CodePen just got a portfolio idea 💡

Profilbild von Tomas Jansson
Tomas Janssonvor 2 Jahren

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

Profilbild von miraclemenikelechi
miraclemenikelechivor 2 Jahren

@CodePen can I implement this with react?

Profilbild von Helge Ahrens
Helge Ahrensvor 2 Jahren

@CodePen @raunofreiberg

Profilbild von E.I.R.M🐐
E.I.R.M🐐vor 2 Jahren

@CodePen @Descargar_Bot

Profilbild von Niall Maher
Niall Mahervor 2 Jahren

@CodePen Super slick

Ähnliche Videos