view()
The view() function tracks the progress of an element within a scrollable viewport (the nearest scroll container), when used in the animation-timeline […]
.element { animation-timeline: view(); }