Grab and learn
Code editor Setup VScode
Top Navigation Sticky Navbar Hamburger Collapse Columns 2D transforms 3D transforms Normal card Flip card Scroll bar Progress bar Skill bar Alert Jumbotron Forms Popover Tooltip Background overlay Breadcrumbs Toast Radio buttons Text input Range sliders Dropdown Pagination Modals Color picker Icons Tables
Curtain menu Mega menu Toggle sidebar Collapsed sidepanel Full screen navigation Hide navbar on scroll Shrink navbar on scroll Page animation Image magnifier
Hover animations Parallax Scroll animation Scroll down animated icon Auto typer Carousel Animated icons Particles Smooth scroll Text animations Cube animations
Online website
Domain name Hosting SEO structure Crawling Indexing Canonical links Sitemap Robots.txt Google Search Console Google Analytics
Beginners Bootstrap Responsive websites Sass CSS grid CSS flexbox
Vanilla JQuery Page animation Async Javascript AJAX Node.js React JS Express

Smooth scroll

Applying a smooth scroll in your website improves the user experience. By clicking on links which lead to an element on the same page causes a smooth scroll instead of abrupt movements

Professional examples

The below stated examples are commonly applied in online website designs. The code is available for you and offers you the possibility to edit it to your own creation!

Smooth scroll via Javascript

Effect: professional

See the Pen Smooth Anchor Scrolling by Matt Litherland (@mattsince87) on CodePen.

Smooth scroll via Javascript

Effect: professional

See the Pen Smooth Scroll by Henry Zaccaro (@HZaccaro) on CodePen.

Smooth scroll via CSS3

Effect: professional

See the Pen Smooth scroll (CSS3) by Danai (@danaidesign) on CodePen.


Need to learn more about the basics of creating a smooth scroll effect? We recommend you to have a look to the examples on w3schools.

Learn how to create a smooth scroll effect

The video's below are carefully selected and give you a clear explanation of how you can build this module yourself.

Landing Page With Smooth Scroll - 3 Options - Traversy Media

In this video we will create a simple landing page with smooth scrolling. I will show you 3 options including pure CSS (scroll-behavior), jQuery and a lightweight JS script.

SMOOTH SCROLLING with Jump.js - 5kb! - DesignCourse

Sticking with the theme of scrolling this week, today we're going to take a look at controlling scrolling in your projects with the help of a lightweight smooth scroll javascript library called Jump.js. We're going to use the same project from the tutorial two days ago, except this time we'll enhance it by adding smooth scrolling. You can grab the project below:

Vanilla Javascript Smooth Scroll Tutorial - Dev Ed

Here is a quick tutorial on how to do the smooth scroll effect in vanilla javascript. Browser support is really good for the request animation animation so I wouldn't worry about it too much. Hope you guys enjoy this Javascript tutorial.

Pure CSS Smooth Scrolling Effects - No Javascript | Smooth Scroll To Element Form Anchor - Online Tutorials

Smooth scroll by using CSS element 'scroll-behavior: smooth'
Copyright © 2020