Ever struggled to debug an intersection observer's root margin? I know I have! So I wrote a little helper that plonks a big red box over the observer's intersection area: gist.github.com/jacksleight/...
gist.github.comdebug-root-margin.jsGitHub Gist: instantly share code, notes, and snippets.
1 repost1 like