CSS Scrollbar Generator

Generate custom CSS scrollbars for your website visually. Customize scrollbar width, track color, thumb color, borders, and border-radius, and view live previews. Compatible with Chrome, Safari, Edge, and Firefox.

Customization

{{ scrollbarWidth }}px
{{ scrollbarHeight }}px
{{ thumbMinHeight }}px
{{ thumbRadius }}px
{{ trackRadius }}px
{{ shadowBlur }}px
{{ shadowOpacity }}%

Scrollbar Live Preview

Scrollable Preview Area

This is a scrollable container. You can drag the scrollbar on the right or bottom to test the scrolling behavior.

Adjust any properties in the left panel (such as size, color, borders, and radius) and watch this area update immediately.

This generator targets Chrome/Safari/Edge (which support rich options like borders, shadows, and hover styles) as well as Firefox.

Once you are happy with your scrollbar style, click "Copy CSS" to paste it into your project.

{{ t('color_item') }} {{ i }}

This is a scrollable container. You can drag the scrollbar on the right or bottom to test the scrolling behavior.

Adjust any properties in the left panel (such as size, color, borders, and radius) and watch this area update immediately.

This generator targets Chrome/Safari/Edge (which support rich options like borders, shadows, and hover styles) as well as Firefox.

Once you are happy with your scrollbar style, click "Copy CSS" to paste it into your project.

Note: Borders, border-radius, shadows, and hover states are only supported on WebKit browsers (Chrome/Safari/Edge). Firefox only supports basic width and solid colors due to CSS specification limits.

{{ t('css_code_output') }}