观澜Media

尝试滚动驱动的角形动画

Over the last few years, ..

观澜Media 的头像

作者

3 分

阅读时间

Over the last few years, there’s been a lot of talk about and experimentation with scroll-driven animations。

It’s a very shiny feature for sure, and as soon as it’s supported in Firefox (without a flag), it’ll be baseline。

It’s part of Interop 2026, so that should be relatively soon。

Essentially, scroll-driven animations tie an animation timeline’s position to a scroll position, so if you were 50% scrolled then you’d also be 50% into the animation, and they’re surprisingly easy to set up too。

I’ve been seeing significant interest in the new CSS corner-shape property as well, even though it only works in Chrome for now。

Hence, say hello to scroll-driven corner-shape animations (requires Chrome 139+ to work fully):。

来源:CSS Tricks

关于我们

观澜Media

AI技术 · 深度资讯 · 前沿观察。专注科技、AI、互联网领域的深度报道与前沿资讯。

搜索归档

Access over the years of investigative journalism and breaking reports