Loading video...

Video Failed to Load

Go Home

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 views โ€ข 2 years ago โ€ขvia X (Twitter)

13 Comments

jhey โ–ฒ๐Ÿป๐ŸŽˆ's profile picture
jhey โ–ฒ๐Ÿป๐ŸŽˆ2 years ago

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's profile picture
Safari Web Extensions1 year ago

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

jhey โ–ฒ๐Ÿป๐ŸŽˆ's profile picture
jhey โ–ฒ๐Ÿป๐ŸŽˆ2 years ago

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 โ–ฒ๐Ÿป๐ŸŽˆ's profile picture
jhey โ–ฒ๐Ÿป๐ŸŽˆ2 years ago

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's profile picture
Deepak Yadav2 years ago

@CodePen omg! For a moment I thought why are you switching apps. โค๏ธโ€๐Ÿ”ฅโค๏ธโ€๐Ÿ”ฅโค๏ธโ€๐Ÿ”ฅโค๏ธโ€๐Ÿ”ฅโค๏ธโ€๐Ÿ”ฅโค๏ธโ€๐Ÿ”ฅโ™ฅ๏ธโ™ฅ๏ธ

Wellington Alves ๐Ÿ–ฅ's profile picture
Wellington Alves ๐Ÿ–ฅ2 years ago

@CodePen >>>

Devestor's profile picture
Devestor2 years ago

@CodePen Does not work in FF?

miraclemenikelechi's profile picture
miraclemenikelechi2 years ago

@CodePen just got a portfolio idea ๐Ÿ’ก

Tomas Jansson's profile picture
Tomas Jansson2 years ago

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

miraclemenikelechi's profile picture
miraclemenikelechi2 years ago

@CodePen can I implement this with react?

Helge Ahrens's profile picture
Helge Ahrens2 years ago

@CodePen @raunofreiberg

E.I.R.M๐Ÿ's profile picture
E.I.R.M๐Ÿ2 years ago

@CodePen @Descargar_Bot

Niall Maher's profile picture
Niall Maher2 years ago

@CodePen Super slick

Related Videos