CSS Scrollbar Customizer

Generate custom CSS scrollbar styles for WebKit and Firefox with track/thumb colors, width, border-radius, and hover states.

  1. Home
  2. Web Dev
  3. CSS Scrollbar Customizer

Scrollable item #1 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #2 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #3 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #4 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #5 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #6 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #7 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #8 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #9 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #10 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #11 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #12 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #13 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #14 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #15 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #16 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #17 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #18 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #19 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

Scrollable item #20 — This content demonstrates how the custom scrollbar will look when applied to a scrollable container.

What is CSS Scrollbar Customization?

CSS allows you to customize the appearance of scrollbars using browser-specific pseudo-elements. WebKit browsers (Chrome, Safari, Edge) use ::-webkit-scrollbar pseudo-elements, while Firefox uses the scrollbar-width and scrollbar-color properties.

This tool features:

  • Real-time preview — See scrollbar changes instantly.
  • Full customization — Track color, thumb color, hover color, width, border-radius, and border width.
  • Cross-browser — Generates CSS for both WebKit and Firefox.
  • Presets — Start from common scrollbar themes.
  • Copy CSS — Export with one click.

How to Use

  1. Choose colors — Pick track, thumb, and hover colors for the scrollbar.
  2. Adjust dimensions — Set the scrollbar width, thumb border-radius, and border width.
  3. Copy the CSS — Click Copy CSS to copy the generated styles and add them to your stylesheet.

Frequently Asked Questions

Does this work in all browsers?

The generated CSS includes styles for WebKit browsers (Chrome, Safari, Edge) and Firefox. Custom scrollbar styling is not supported in Internet Explorer.

Can I apply this to a specific element?

Yes. Replace the .custom-scrollbar class with your own selector, or apply the styles directly to a specific element's scrollbar.