Color • Thickness • Rounded Corners • WebKit + Standard Syntax
This tool generates CSS to restyle a browser scrollbar — thickness, track and thumb colors, hover color, and rounded corners — using both of the syntaxes modern CSS provides. WebKit-based browsers (Chrome, Safari, Edge, Opera) support the detailed ::-webkit-scrollbar family of pseudo-elements, giving full control over every part of the scrollbar. Firefox and other spec-compliant browsers instead use the standardized scrollbar-width and scrollbar-color properties, which offer less granular control (only a thumb color and a track color, and a width of thin/auto/none) but are the official CSS Scrollbars specification. This generator outputs both together so the result looks intentional across browsers rather than defaulting to native scrollbars on non-WebKit browsers. Choose whether to apply the style to a specific scrollable element (add the generated class to any container with overflow) or to the entire page. All processing happens locally in your browser.