The dashed line below denotes the approximate distance the div should be in the viewport before a log is made.

A div