We use essential storage to make the site work. If you accept, we also use Google Analytics to understand usage and Google AdSense to show ads, which may set cookies. You can change your choice any time with Cookie settings in the footer. Privacy Policy
CSS Scrollbar Generator
Generate custom scrollbar CSS for WebKit and Firefox. Adjust color, width, and radius with live preview. Free, private, and runs locally in your browser.
How to use
Enter inputs — Provide the required values for the CSS Scrollbar Generator.
Get the result — Output updates instantly as you adjust inputs.
Copy or export — Copy the result to your clipboard with one click.
Reuse anywhere — Use the output in your project, document, or workflow.
Frequently asked questions
Is the CSS Scrollbar Generator free?
Yes. All Zubac Tools utilities are free with no sign-up.
Is my data sent to a server?
No. Everything runs locally in your browser — your inputs never leave your device.
Does it work offline?
Yes. Once the page has loaded, the tool keeps working without a connection.
Can I use it on mobile?
Yes. The interface is responsive and works on phones, tablets, and desktops.
Does it work in Firefox?
Yes — separate `scrollbar-color` and `scrollbar-width` rules are included automatically.
What about mobile?
Mobile browsers hide scrollbars by default; custom CSS shows them again, which most mobile users find distracting. Test before shipping.
Can I style only specific elements?
Yes — change the selector at the top of the generated CSS (e.g. `.my-container::-webkit-scrollbar`).
Does it support dark mode?
Use CSS variables and toggle them via `:root[data-theme="dark"]` for theme-aware scrollbars.
Is my CSS sent anywhere?
No — generation is local.
Related free tools
Text Shadow Generator — Design CSS text shadows with a visual editor and live preview.