Added an example where you can animate items using the IntersectionObserver.
Check out animate with IntersectionObserver.