Загрузка видео...

Не удалось загрузить видео

На главную

CSS position: sticky, scroll-snap + progressively enhanced scroll animation 📜 li { animation: bright; animation-range: calc(50% - 1lh) calc(50% + 1lh); animation-timeline: view(); scroll-snap-align: center; } @​keyframes bright { 50% { opacity: 1; }}

366,000 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

original concept here on the "forge & form" site 👏 scroll to the bottom 👇 p.s hadn't seen this one on here so couldn't quote it

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

here's the @CodePen for this one 🤙 wanted to get that colorful scrollbar experiment in place first before posting it 🙏 now we hop on a plane ✈️

Фото профиля Elliott Johnston
Elliott Johnston1 год назад

Here's a similar example I coded up

Фото профиля fangjun
fangjun1 год назад

can you share the code example? thanks.

Фото профиля Lewis
Lewis1 год назад

This would be cool as a custom select

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

now that's an idea! 💡

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

like seeing these and want to learn more about how to build awesome UIs for the web? Check out my newsletter, "The Craft of UI" quite the backlog of issues coming 🤙 👉

Фото профиля Tyrone C.
Tyrone C.1 год назад

That is so sick 👀

Фото профиля Ji @ crypto-cafe (YT)
Ji @ crypto-cafe (YT)1 год назад

can we get an additional level of items? like a 2 tiered mindmap in scrollable style.

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

that would be neat, a two-tiered set would work as well by nesting the "stickiness" would need some sentences to build out with that structure 🤔

Похожие видео