extra little details™
jhey ʕ•ᴥ•ʔ
X profili@jh3yy148 B takipçi
61.519 görüntüleme
extra little details™
animate a CSS custom property to sync scrollbar-color with the active item ✨
html {
scrollbar-color: oklch(65% 0.3 var(--p)) #0000;
animation: sync;
animation-timeline: --ul;
animation-range: entry 50% exit 50%
}
@keyframes sync { to { --p: 320; } }
8 Yorum
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

@yebuntu
Do you build this off the dome or do you use resources like mdn when you build stuff strictly with CSS?
3 beğeni

@jh3yy
straight off the dome 🤙 it's purely from repetition and exploration over the years
4 beğeni

@imfelquis
Tried to find the codepen but couldn’t find it
2 beğeni

@riaad_arif
This is pure talent! 🌟
2 beğeni

@PavleMarinkovi3
sick!

@designgurra
such a fun and awesome detail!

@notcnrad
its little details like this that separate a website from an experience

@jabeztadesse
You're killin' it!