Scrollbar Customizer
Design unique, branded scrollbars for your website with visual controls. Generates Webkit-compatible CSS for Chrome, Safari, and Edge.
/* Width */
::-webkit-scrollbar {
width: 12px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #3b82f6;
border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #3b82f6CC;
}About the CSS Scrollbar Customizer
Pick thumb and track colours, width and corner radius, scroll the preview box to test, and copy the CSS that styles scrollbars in Chrome, Edge, Safari and other WebKit/Blink browsers.
Everything you enter is processed in your browser; nothing is uploaded or stored.
How to use it
- Choose the thumb colour and the track colour.
- Set the scrollbar width and corner radius.
- Scroll the preview, then copy the CSS styles.
Two ways browsers style scrollbars
Chrome, Edge and Safari use the ::-webkit-scrollbar, ::-webkit-scrollbar-thumb and ::-webkit-scrollbar-track pseudo-elements, which allow width, colours and rounded corners.
Firefox ignores those pseudo-elements and uses the standard scrollbar-color and scrollbar-width properties instead, which support colours and a thin/auto width but not radius. Add a line such as scrollbar-color: thumb-colour track-colour; to style Firefox too.
Tips
- Keep enough contrast between thumb and track so the scrollbar stays visible.
- Avoid very thin scrollbars on desktop; they are hard to grab.
Frequently asked questions
Why does my custom scrollbar not show in Firefox?
Firefox ignores ::-webkit-scrollbar; add scrollbar-color and scrollbar-width to the generated CSS.
Can I hide the scrollbar but keep scrolling?
Yes, with scrollbar-width: none and ::-webkit-scrollbar { display: none; }, but visible scrollbars are better for usability.
Does it work on phones?
Mobile browsers use overlay scrollbars and mostly ignore these styles.