正在加载视频...

视频加载失败

Introducing the all new ✨

51,509 次观看 • 2 年前 •via X (Twitter)

10 条评论

Ben Holmes 的头像
Ben Holmes2 年前

I rebuilt everything from scratch with one goal: show off new web APIs I'm excited about. The most obvious one is view transitions. Everything scales and moves with Astro's transition:name property. To quote @fredkschott: what a time to be alive.

Ben Holmes 的头像
Ben Holmes2 年前

The next was spring animations. @argyleink turned me on to the CSS linear() function, which lets you add bounce with zero JS. I packed this into Tailwind classes like "ease-spring-5" so I can sprinkle fun transitions everywhere. learn how it works 👀

Ben Holmes 的头像
Ben Holmes2 年前

@argyleink What about client state? Look ma, no framework! I installed a polyfill for the Signals ECMAscript proposal that made the rounds this year. It's simple and super powerful. Hope it lands in the browser someday 🤞

Ben Holmes 的头像
Ben Holmes2 年前

@argyleink For my blog, I needed a server to track likes and handle newsletter sign-ups. Enter Astro Actions. @joshwcomeau taught me how his like button worked, which led to the Redis-powered solution I shipped. Watch the breakdown 👇

Ben Holmes 的头像
Ben Holmes2 年前

@argyleink @JoshWComeau There's way more goodies than I can cover in a thread. Expect many videos to come! don't miss it 🔔

Jacob Jenkins 的头像
Jacob Jenkins2 年前

Dat mobile menu though

Ben Holmes 的头像
Ben Holmes2 年前

Haha thanks. I wanted to get away from "massive hamburger dropdown." Had few enough links, and it just worked!

Jasper Furniss 的头像
Jasper Furniss2 年前

Looks great! Love the thoughtful interactions.

MHD 的头像
MHD2 年前

Using view transitions, fancy 😍

toddmorey 的头像
toddmorey2 年前

This is fantastic work! It's fun, it's original, and it's definitely on brand.

相关视频