"Scroll to top" component

A little scroll to top button I designed and built as part of a client project. Nothing fancy, an SVG icon and a few lines of JavaScript to show and hide the component based on scroll position.

The event triggers the adding/removal of an atomic animation class called .down-self. I've been playing around with atomic animation classes and I really like the concept.

Our full site is coming soon at www.spacefarm.digital 👩‍🚀👨‍🚀

More by spacefarm

View profile