Using CSS Scroll-Driven Animations for Section-Based Scroll Progress Indicators
May 16, 2024
allow you to control animations based on the scroll progress of any particular element (often the whole document), or, a particular element’s visibility progress within the document
A new feature in CSS that sounds rather anodyne, but enables a lot of animation that previously required JavaScript–Preethi Sam goes into detail about them here.