Pure CSS — No JavaScript

Style Your ScrollbarsVisually

Pick colors, set width and border radius, see it live, and copy production-ready CSS for Chrome, Safari, Edge, and Firefox — in seconds.

🎨

Live Preview

See your scrollbar exactly as it will appear in the browser while you adjust controls.

📋

Two Formats

Generates both ::-webkit-scrollbar CSS for Chrome/Safari/Edge and scrollbar-color for Firefox.

One-Click Copy

Copy the complete CSS to your clipboard and drop it straight into your stylesheet.

Controls

Dimensions

Width10px
Border Radius6px

Colors

Track
#E2E8F0
Track Opacity100%
Thumb
#6366F1
Thumb Opacity100%
Thumb Hover
#4F46E5

Output

Selector

Live Preview

Line 1 — Scroll down to see more content in this preview box.

Line 2 — Scroll down to see more content in this preview box.

Line 3 — Scroll down to see more content in this preview box.

Line 4 — Scroll down to see more content in this preview box.

Line 5 — Scroll down to see more content in this preview box.

Line 6 — Scroll down to see more content in this preview box.

Line 7 — Scroll down to see more content in this preview box.

Line 8 — Scroll down to see more content in this preview box.

Line 9 — Scroll down to see more content in this preview box.

Line 10 — Scroll down to see more content in this preview box.

Line 11 — Scroll down to see more content in this preview box.

Line 12 — Scroll down to see more content in this preview box.

Line 13 — Scroll down to see more content in this preview box.

Line 14 — Scroll down to see more content in this preview box.

Line 15 — Scroll down to see more content in this preview box.

Line 16 — Scroll down to see more content in this preview box.

Line 17 — Scroll down to see more content in this preview box.

Line 18 — Scroll down to see more content in this preview box.

Line 19 — Scroll down to see more content in this preview box.

Line 20 — Scroll down to see more content in this preview box.

Generated CSS

/* Chrome, Safari, Edge */
.scrollable::-webkit-scrollbar {
  width: 10px;
}

.scrollable::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 6px;
}

.scrollable::-webkit-scrollbar-thumb {
  background: #6366f1;
  border-radius: 6px;
}

.scrollable::-webkit-scrollbar-thumb:hover {
  background: #4f46e5;
}

/* Firefox */
.scrollable {
  scrollbar-width: auto;
  scrollbar-color: #6366f1 #e2e8f0;
}

Frequently Asked Questions

Everything you need to know about CSS Scrollbar Generator.