CSS Scrollbar Generator

With this generator, you will be able to change the appearance and colors for scrollbars on your website. Very easy to use, just change the selections below and you will visually see the change in the the example area. All the CSS code will be automatically generated, so that you can paste it into your project. Note: We need to use the vendor prefix -webkit- for the scrollbars to work in Chrome, Edge and Safari. Firesfox use different properties that are limited at the moment.

ScrollBar Options

Background Color:
Hover Color:
Active Color:
10px
5px

Background Color:
Hover Color:
Active Color:
5px

Trackbar

Active Color:
0px
Thumb
Active Color:
0px
Scrollbar Preview

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

CSS Code

About CSS Scrollbar Generator

A CSS scrollbar generator is a online webtool that allows you to create custom scrollbar styles for your web pages using CSS. Web browsers typically display default scrollbars for web content, but with CSS, you can customize the appearance of these scrollbars to better match the design and aesthetics of your website.

Our CSS scrollbar generator provides a user-friendly interface where you can adjust various scrollbar properties, such as:

  • Width and height: You can set the dimensions of the scrollbar, including the track (the background) and the thumb (the draggable part).

  • Colors: You can choose colors for the scrollbar background, thumb, and various states like hover and active.

  • Border and border-radius: You can define the border properties of the scrollbar, as well as its rounded corners using the border-radius property.

  • Shadow and glow effects: Some generators allow you to add shadows or other visual effects to the scrollbar.

  • Scrollbar track and thumb behavior: You can control how the scrollbar reacts when a user interacts with it, like changing colors on hover or click.

Once you customize the scrollbar appearance using the generator, it will generate the CSS code necessary to apply the chosen style to your website. You can then add this CSS code to your web pages to implement the custom scrollbar design.

Customizing scrollbars can be a way to enhance the user experience and make your website or web application more visually appealing. However, it's essential to keep accessibility in mind when making such customizations, as some users may rely on default browser scrollbars for navigation. It's a good practice to test your custom scrollbar styles to ensure they don't interfere with the usability of your site for all users.