AnimateOnScroll uses PrimeFlex animations, however it can perform animations with custom CSS classes too. Takes enterClass and leaveClass properties to simply add animation class during scroll or page load to manage elements animation if the element is entering or leaving the viewport.