Within Viewport

Collapse

Scroll around the page. Boxes completely within the viewport will darken.

See the code on GitHub and the blog post for more info.

Set your own thresholds (in pixels):

Press shift + arrow key to nudge the page by 1 pixel