CSS Scrollbar Styler
Design a custom scrollbar and preview it live, right here on the page.
Advertisement
About this tool
Includes both the ::-webkit-scrollbar rules (Chrome, Edge, Safari) and the standard scrollbar-color/scrollbar-width properties (Firefox) — apply the class to any scrollable container.
Since version 121, Chrome and Edge also support the standard properties, and when an element has scrollbar-color or scrollbar-width they ignore all the ::-webkit-scrollbar rules, so your width and rounded corners would silently disappear. The generated CSS avoids that by giving the standard properties only to browsers without ::-webkit-scrollbar support (Firefox). Keep scrollbars wide enough to grab, and with enough contrast against the track, for people using a mouse with limited precision.