ScrollDir – Leverage Vertical Scroll Direction with CSS
ScrollDir, short for Scroll Direction, is a 0 dependency, ~1kb micro Javascript plugin to easily leverage vertical scroll direction in CSS via a data attribute. ScrollDir is perfect for: – Showing or hiding sticky elements …