Home /code /Smooth Scroll to the top of the page, fade in and out button. /

Smooth Scroll to the top of the page, fade in and out button.

2:17 am, April 23, 2017

Original Post Date: 3:02 am, July 22, 2014

Scrolls to the top of the page or to a page element, only showing the button when you have scrolled down 50px from the top of the screen. Button fades in and out at the bottom right of the screen.

See the Pen Scroll to top button + font awesome by Luke (@kruxor) on CodePen.