maxK997
maxK997
KPCKevin Powell - Community
Created by maxK997 on 2/16/2024 in #front-end
animation-timeline works only with scroll(root)
I am getting familliar with new CSS-based animation. I followed Kevin's tutorial and I tried to replicate stuff, but animation seems to work only with animation-timeline: scroll(root); animation-timeline: view() produces very weird results for example with translateX, but nothing moves nowhere no matter the scroll. scroll(root) get things to work but it works for me only on my hero section because it is always on top and it is 100vh tall, but when I want to make some images to appear, I can't get it to work as expected.
1 replies