GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

09Smooth anchor via scroll-behavior

Add one line, html { scroll-behavior: smooth }, and clicking the button glides the page to the top with zero JS.

Best forStatic sites, pages that want to keep JavaScript to a minimum

href=#mp-topJS 0줄앵커 링크
Smooth anchor via scroll-behavior
Open in a new tab

09 Smooth anchor via scroll-behavior — Measured area 50.129% · moving frames 11/23Original by GODRICH · SCSS and React ship in the zip · 9 Back To Top Button CSS: No JS, Scroll-Driven

The post this demo lives in

9 Back To Top Button CSS: No JS, Scroll-Driven - preview of all 9 demos9 Back To Top Button CSS: No JS, Scroll-DrivenA back to top button css animation is what makes the small button that carries a visitor back up a long page fade in, sp See all demos in this post

If you like this effect - similar demos