正在加载视频...
视频加载失败
Future CSS Tip! 🔮 You can create responsive animated text reveals with CSS scroll-driven animations 🔥 section { /* The red element in the video */ view-timeline-name: --section; } p { animation: fill both linear; animation-timeline: --section; animation-range: cover; } keyframes fill { to { --fill: 1; } }... show more
408,655 次观看 • 2 年前 •via X (Twitter)
10 条评论

jhey ▲🐻🎈2 年前
Here's that @CodePen link! 🚀 This should work in Chrome 115+ 🤙 We could avoid using @ property but there's currently an issue where inline elements aren't getting animated as they once were (Raised an issue)

Maxim Leyzerovich2 年前
you are just killllllin’ it with these lately

Solar2 年前
I used to think I know CSS until I came across your account. These tips are jaw-dropping

Katai2 年前
And somehow the company spec will still want me to make it compatible with Internet Explorer.

Oscar Cornejo2 年前
👏🏼👏🏼

Rex Tech Guy2 年前
Great

Param | Graphic Designer | Thumbnail Designer2 年前
This is sick!

jhey ▲🐻🎈2 年前
Right? 😅 I was like "Whoah, CSS is owning this"

Michael2 年前
Will add this to my project

Deepak Rudra Paul2 年前
Didn't know that. Your CSS tips are very helpful
