Loading video...
Video Failed to Load
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
575,316 views • 2 years ago •via X (Twitter)
10 Comments

jhey ▲🐻🎈2 years ago
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 years ago
i see your posts later and bookmark them first 🤡

jhey ▲🐻🎈2 years ago
You a real one Faran 🙏

Ryan Burgess2 years ago
@hdjirdeh Nicely done!

David2 years ago
at this point, your posts, take up all of my Twitter bookmarks

parbez2 years ago
Can you create one similar to scrollbar?

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

Abdulmumin Yaqeen2 years ago
👑👑👑

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

Andrea2 years ago
cool 😎!
