Skip to content
Jellykit

CSS Scrollbar Generator

Style custom scrollbars with CSS: width, thumb and track colours, hover colour, radius and inset. Get scrollbar-color plus ::-webkit-scrollbar rules.

Runs in your browser. Nothing is uploaded.

About CSS Scrollbar Generator

Choose the width, thumb colour, hover colour, track colour, thumb radius and inset, and try the result in a scrollable preview box.

The CSS covers both systems browsers use: the standard scrollbar-width and scrollbar-color properties (Firefox, and Chrome and Edge since version 121) and the older ::-webkit-scrollbar pseudo-elements that Safari uses. Where a browser supports the standard properties, they take priority and only the colours and thin or auto width apply.

How to use CSS Scrollbar Generator

  1. Open the tool above and add your file or text.
  2. Adjust the options to suit.
  3. Download or copy the result. Nothing is uploaded at any point.

Frequently asked questions

Why can't I set an exact width in Firefox?

The standard scrollbar-width property only accepts auto, thin or none. Exact pixel widths and rounded thumbs come from the ::-webkit-scrollbar rules.

Should I hide scrollbars?

Rarely. Hiding them makes it unclear that content scrolls, especially for mouse users.

Is CSS Scrollbar Generator free and private?

Yes. CSS Scrollbar Generator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all design tools →