DEV Community

Cover image for Sticky Back-To-Top Button with Intersection Observer
David Maciejewski
David Maciejewski

Posted on

Sticky Back-To-Top Button with Intersection Observer

Unveils while scrolling. Instead of using a performance wasting scroll-trigger, this demo is using use a modern Intersection Observer.

Open this demo in your browser, it's using 25 % of the main container height to unveil the Back-To-Top-Button.

Top comments (0)