Загрузка видео...
Не удалось загрузить видео
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 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 13

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 🤓

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

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.

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!

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

@CodePen >>>

@CodePen Does not work in FF?

@CodePen just got a portfolio idea 💡

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

@CodePen can I implement this with react?

@CodePen @raunofreiberg

@CodePen @Descargar_Bot

@CodePen Super slick
