Ctrl + K
HomeCSS ToolsCSS Scrollbar Generator
Free Developer Tool

CSS Scrollbar Generator

Create CSS styles for customizing scrollbar appearance, dimensions and colors.

10px
10px
2px

Custom Scrollbar Preview

Scroll this container to preview the generated scrollbar. The content is intentionally larger than the container so that both vertical and horizontal scrollbars are available.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8

What is CSS Scrollbar Generator?

Generate CSS for customizing scrollbar appearance, including scrollbar width, thumb styling, track styling and rounded corners.

How to use

  1. Choose scrollbar dimensions.
  2. Configure the thumb and track appearance.
  3. Adjust colors and border radius.
  4. Preview the scrollbar styling.
  5. Copy the generated CSS.

Features

  • Scrollbar width control
  • Thumb styling
  • Track styling
  • Border radius controls
  • Live preview
  • Ready-to-use CSS

Common Use Cases

  • Custom web interfaces
  • Dark mode layouts
  • Scrollable panels
  • Dashboard components
  • Frontend styling

Example

Input
Width: 10px
Thumb: #888
Track: #f1f1f1
Radius: 5px
Output
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

FAQ

Can the scrollbar width be customized?

Yes.

Can the thumb and track have different colors?

Yes.

Can rounded scrollbars be generated?

Yes.

Does it generate copyable CSS?

Yes.