Element fades from transparent to visible
Element slides in from the left
Element scales up on scroll
Page scroll progress bar
CSS scroll-driven animations allow animation progress to be controlled by scroll position rather than time, using animation-timeline: scroll() or view().
scroll() is based on scroll container progress, view() is based on element entering/leaving the viewport.
Chrome 115+ and Edge 115+ fully support. Firefox and Safari are developing. Use @supports for progressive enhancement.