Skip navigation
extra little details™
0:00 / 0:33

extra little details™

jhey ʕ•ᴥ•ʔ

@jh3yy148K followers

Visit on X
1,135 likesDownloadOriginal post

61,519 views

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 Comments

Comments from the original post on X (Twitter)

  • ye's profile picture

    @yebuntu

    Do you build this off the dome or do you use resources like mdn when you build stuff strictly with CSS?

    3 likes

  • jhey ▲🐻🎈's profile picture

    @jh3yy

    straight off the dome 🤙 it's purely from repetition and exploration over the years

    4 likes

  • Ofelquis G's profile picture

    @imfelquis

    Tried to find the codepen but couldn’t find it

    2 likes

  • Riaad Arif's profile picture

    @riaad_arif

    This is pure talent! 🌟

    2 likes

  • pavle993💹🧲's profile picture

    @PavleMarinkovi3

    sick!

  • Gustav Ekerot's profile picture

    @designgurra

    such a fun and awesome detail!

  • conrad's profile picture

    @notcnrad

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

  • Jabez ✦'s profile picture

    @jabeztadesse

    You're killin' it!