Style scrollbar in Chrome and Firefox
Firefox reads scrollbar-width: thin and scrollbar-color: thumb track on the scrollable element. Chromium builds need ::-webkit-scrollbar, ::-webkit-scrollbar-track, and ::-webkit-scrollbar-thumb. This generator copies both families so a panel styled here matches in common desktop browsers.
Thumb width (and height for horizontal bars) slider runs 4–20px. Thumb radius runs 0–20px (defaults toward a pill at 999 in the initial state). Scroll the preview column to see changes live on thirty placeholder lines.
Hiding scrollbars versus theming them
This tool themes bars; it does not remove them. Hiding scrollbars while keeping scroll ability hurts discoverability and keyboard users who rely on visible overflow cues. Prefer thin, high-contrast thumbs instead of zero-width tricks unless a design system explicitly documents the exception.
Why is there no Safari-specific block?
Safari on macOS uses WebKit pseudo-elements similar to Chrome. iOS Safari often shows minimal overlay scrollbars regardless of CSS—do not depend on custom thumbs on touch-only devices.