跳过导航
3D CSS image slider works well on device 🤙
0:00 / 0:45

3D CSS image slider works well on device 🤙

jhey ʕ•ᴥ•ʔ

@jh3yy15万 位关注者

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

173,088 次观看

3D CSS image slider works well on device 🤙 li { --item-width: clamp(120px, 20vmin, 12rem); --radius: calc( (var(--item-width) / sin(var(--inner-angle))) * -1 ); } It's cool how you can use a clamped value with "calc"

10 条评论

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

  • JohnPhamous 的头像

    @JohnPhamous

    so good

    2 个赞

  • Philip Warkentien II 的头像

    @warkentien2

    First thing that came to mind. That feedback is 🤌🏻

    2 个赞

  • Omar Ezzat 的头像

    @ezzato_

    That is actually useful. Put this into my bucket of things to look into. Great work!

    1 个赞

  • Max Chechel 的头像

    @max_chechel

    Insane! 🤩 But it’s only for Chrome, right?

    1 个赞

  • jhey ▲🐻🎈 的头像

    @jh3yy

    Yep – But I updated the demo so it falls back to using GSAP ScrollTrigger if the browser doesn't support CSS scroll animations 🤙

    1 个赞

  • Kumail Nanji 的头像

    @KumailNanji

    This is dope 🔥

    1 个赞

  • Fredkisss is on 🦋 blue sky 🦋 的头像

    @fredkisss

    WoW

  • 🆇 Joe 的头像

    @AI_Joe_

    Dope 👌

  • Kartik Jolapara 的头像

    @codingmickey

    absolute beauttty

  • Tyrone C. 的头像

    @TyroneC__

    That is so incredible! Might use that for my page 🔥 Thanks for sharing!