Login
You're viewing the front-end.social public feed.
  • Bramusbramus
    Apr 8, 2024, 9:35 AM

    Creating a Scroll-Driven Animation is as easy as taking an existing CSS animation and declaring `animation-timeline: scroll()` on the element.

    The function accepts two parameters: a `<scroller>` and an `<axis>`

    Recording of the tool linked in a later post. In the demo, I change the values for `<scroller>` and `<axis>` to demonstrate how they affect things as I scroll.
    💬 1🔄 11⭐ 15

Replies