Advertisement
  1. Web Design
  2. JavaScript

Quick Tip: Implement a Sticky "Back to Top" Button

Scroll to top
Read Time: 1 min

In this quick tip screencast we're going to implement a feature which you may have seen on websites with lots of page content. This button appears when the browser window is scrolled beyond a certain point and will allow our users to easily navigate "back to top".

The implementation is pretty straight-forward; first we'll create our link with HTML and CSS, then we'll use a bit of JavaScript to enhance the behavior.


The Screencast


Alternatively, Download the video, or subscribe to Webdesigntuts+ screencasts via YouTube
Advertisement
Did you find this post useful?
Want a weekly email summary?
Subscribe below and we’ll send you a weekly email summary of all new Web Design tutorials. Never miss out on learning about the next big thing.
Advertisement
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.