Maxim Mironjuk
-
March 04, 2025
The native browser scrollbar often looks out of place in a carefully designed dashboard, gray, thick, and with no connection at all to the surrounding color scheme. With the WebKit-specific ::-webkit-scrollbar pseudo-elements and the standardized scrollbar-width and scrollbar-color properties, its appearance can be tuned precisely without harming the core scrolling function. Getting there, though, means working with two technically completely different APIs that have to be combined cleanly so the result looks equally good in Chrome, Safari, and Firefox.