正在加载视频...
视频加载失败
CSS Tip! 🚥 You can create these trending expanding scroll indicators with scroll-driven animations and flex 🤙 .indicator { animation: grow; animation-range: contain calc(50% - var(--size)...; animation-timeline: var(--card); } @keyframes grow { 50% { flex: 3; }} What's the trick? Put the indicators in a container using flex layout... show more
10 条评论

jhey ▲🐻🎈2 年前
Here's that @CodePen link! 🚀 This was a fun one to put together and a nice showcase for the CSS timeline-scope property ⭐️ Saw this initially when building the humane site demo. Might add it to that too 🤔

Faran 🇵🇸2 年前
i see your posts later and bookmark them first 🤡

jhey ▲🐻🎈2 年前
You a real one Faran 🙏

Ryan Burgess2 年前
@hdjirdeh Nicely done!

David2 年前
at this point, your posts, take up all of my Twitter bookmarks

parbez2 年前
Can you create one similar to scrollbar?

jhey ▲🐻🎈2 年前
Yep! For sure 💯 Totally planning to update this demo with it 🤙

Abdulmumin Yaqeen2 年前
👑👑👑

eboye | デジタルボーイ2 年前
Looks exactly like gnome 45 workspace indicator. I love it ♥️

Andrea2 年前
cool 😎!
