Scrollbar Styler
Style a custom scrollbar with webkit rules and the standard properties, then copy the CSS.
Style a scrollbar
Scroll this panel to see the styled scrollbar in action. Use the mouse wheel, the trackpad or drag the thumb.
Every colour, the width, the radius and the track inset come from the controls above, and the same values are written into the CSS box below.
The webkit pseudo-elements style Chromium and Safari, while scrollbar-width and scrollbar-color cover Firefox and newer engines.
Paste the rule into your stylesheet, rename the class to match your scroll container and the styling follows every overflow area you target.
A rounded thumb with a little padding usually looks best, and a hover colour keeps the control discoverable when the pointer is over it.
Keep the contrast between the thumb and the track high enough so the scrollbar stays easy to find on any screen.
How to use the Scrollbar Styler
- Set the scrollbar width, thumb radius and track inset with the sliders.
- Pick the thumb, track and hover colours and choose a scrollbar-width value.
- Scroll the preview panel, then copy the CSS and rename the selector.
Features
- Webkit scrollbar thumb, track and hover pseudo-element rules
- Standard scrollbar-width and scrollbar-color properties
- Working preview panel that scrolls with the generated styling
- Copyable CSS with every value from the controls
Frequently Asked Questions
Common questions about the free online scrollbar styler.
Last updated: October 10, 2026