JavaScript Scroll Animation

I have followed a this video - https://www.youtube.com/watch?v=VgS5CP7zlXE it works but i have an issue where this code - scrollOffsets: [CSS.px(250), CSS.percent(80)] doesnt seem to have an effect on when the transition starts and ends please help me
Kevin Powell
YouTube
JavaScript Scroll Animation Tutorial | Web Animations API + ScrollT...
Scroll-based animations used to be pretty hard and usually meant turning to a library. With the Web Animations API and ScrollTimeline, it's now surprisingly easy to do! šŸ”— Links āœ… The Polyfill: https://github.com/flackr/scroll-timeline āœ… The Discord community: https://discord.gg/nTYCvrK āœ… Doing this with CSS only (@scroll-timeline): https://you...
1 Reply
Jochem
Jochemā€¢17mo ago
if you search for that video url on the server, you'll get a bunch of results. Here's one from a while ago: https://discord.com/channels/436251713830125568/1048345951493951628/1048345951493951628 there's a lot of people experiencing issues with it though, I think the syntax changed since the video was made. No idea about the new syntax though: https://discord.com/channels/436251713830125568/1087368637440081982/1087368637440081982
Want results from more Discord servers?
Add your server