Little script that detects if an element is in the viewport and adds a class to it.
Tags: jQuery, Viewport, checker
Help support cdnjs
You can contribute on
GitHub to help make cdnjs sustainable!
Or, donate $5 to cdnjs via
Open Collective or Patreon.