Press "Enter" to skip to content

Vanilla JS Lightweight Custom Scrollbar Plugin | skunkScroll

skunkScroll is a lightweight JavaScript scrollbar plugin for creating a responsive horizontal scroll bar that can be used to track scrolling progress when scrolling down a web page.

horizontal scroll progress bar, horizontal scroll indicator, animated progress bar on scroll, horizontal scroll bar webflow


  • A small script that posts a horizontal, scalable scroll bar at the top of the page.
    to use:
  • Include css and js files.
  • Make sure there is a div in the body of your page without parent divs.
  • The div must have an identifier named ‘scroller’.
  • Inside the #scrollbar , make the child of the div hold the id “scrollbar-bg”.
  • You can change the color of the bar in CSS.

Customizable Scrollbar Directive for Angular | ngx-slimscroll

How to make use of it:

1. Include main JavaScript in the web page.

<script src="js/purejavascript.js"></script>

2. Then you can style the scrolling progress bar in CSS as follows:

#scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 0%;
  height: 5px;
  z-index: 9999;
#scrollbar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #E16036;

Minimal Horizontal Scroll Progress Bar, skunkScroll Plugin/Github

See Demo And Download

Official Website(andreasvirkus): Click Here

This superior jQuery/javascript plugin is developed by andreasvirkus. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.