Thanks Cyd, because I also nearly missed this. Looks very promising!
CSS scroll-triggered animations are here, and I completely missed them | Blog Cyd Stumpel cydstumpel.nl
Triggered animations are CSS animations that respond to a trigger being either active or inactive. We can specify animation actions and use it, for example, to play, pause or reverse animations based on if the trigger is active or not.