跳过导航
extra little details™
0:00 / 0:33

extra little details™

jhey ʕ•ᴥ•ʔ

@jh3yy15万 位关注者

在 X 上查看
1,135 个赞下载原帖

61,519 次观看

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 条评论

评论来自 X (Twitter) 上的原帖

  • ye 的头像

    @yebuntu

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

    3 个赞

  • jhey ▲🐻🎈 的头像

    @jh3yy

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

    4 个赞

  • Ofelquis G 的头像

    @imfelquis

    Tried to find the codepen but couldn’t find it

    2 个赞

  • Riaad Arif 的头像

    @riaad_arif

    This is pure talent! 🌟

    2 个赞

  • pavle993💹🧲 的头像

    @PavleMarinkovi3

    sick!

  • Gustav Ekerot 的头像

    @designgurra

    such a fun and awesome detail!

  • conrad 的头像

    @notcnrad

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

  • Jabez ✦ 的头像

    @jabeztadesse

    You're killin' it!