Skip navigation
progressively enhanced css scroll-driven parallax animation 👨‍🍳
0:00 / 0:21

progressively enhanced css scroll-driven parallax animation 👨‍🍳

jhey ʕ•ᴥ•ʔ

@jh3yy148K followers

Visit on X
260 likesDownloadOriginal post

15,305 views

progressively enhanced css scroll-driven parallax animation 👨‍🍳 3 columns use the same @​keyframes driven by container position + calc() to keep things responsive

17 Comments

Comments from the original post on X (Twitter)

  • Kevin Geary's profile picture

    @thekevingeary

    It's a cool effect, but it has no utility. It's interesting to look at, but makes it impossible to adequately consume the information. Designers very commonly lose the plot.

    11 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    fun at parties club™

    7 likes

  • Sameer Vanjari's profile picture

    @VanjariSameer

    I have tried something similar earlier. It also rotates as you scroll.

    6 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    nice – i messed with something similar once upon a time with a bunch of nth selectors 😅

    4 likes

  • Sameer Vanjari's profile picture

    @VanjariSameer

    Woaah... This idea is amazing too. Never thought about shifting the movement mid animation. NIcee... Love it ❤️

    2 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    it's a little bit of "management" but it's quite a cool effect. think the sweetspot is a combo of the two perhaps 🤝

    1 like

  • Sameer Vanjari's profile picture

    @VanjariSameer

    Yes, definitely. The combo would be likely compensate for the little awkward movement vibe. I think the most likely usecase would be highlight a single card or cards in the middle, making the other surrounding cards monochrome or plane color cards.

    2 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    yeah, i'd love to actually use the crossover for something at some point i think i was inspired by netflix at the time i built that one

    2 likes

  • Sameer Vanjari's profile picture

    @VanjariSameer

    I would try something and show you, then may be we could brainstorm after that

    1 like

  • Raffi Keklikian's profile picture

    @RKeklikian

    Built something similar on desktop a few years back:

    1 like

  • Kyriakos's profile picture

    @Kyriakos_Pelek

    Nice tricks, how does it handle mobile touch?

    1 like

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    it's fine, but in this case, we switch to a different layout so it doesn't get used on mobile 🤙

  • incpo's profile picture

    @incpo_

    its cool until you add dynamic loading, aka infinite scroll

    1 like

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    wouldn't add it, it's a landing page

    2 likes

  • Nick Venturi's profile picture

    @nickvnturi

    modern css makes giant scroll libraries look useless now

  • Scott Kaye's profile picture

    @scottykaye

    Thats absolute fire 🔥

  • Rahul's profile picture

    @0xsairahul

    Building in public reveals what tutorials hide.