An event for CSS position:sticky
Using position: sticky
and IntersectionObserver
together to determine when elements become sticky. Apply scroll effects without scroll events!
css
intersectionobserver
stickyposition
IntersectionObserver’s Coming into View
IntersectionObservers let you know when an observed element enters or exits the browser’s viewport.