Thin scrollbar with CSS only

Rauno shares a CSS tweak with scrollbar-width: thin and scrollbar-color: gray transparent for thin, gray scrollbars with a transparent track. A practical reference for UI finish; the video's appearance and cross-browser compatibility not verified.
Post text
How to make scrollbars not suck scrollbar-width: thin; scrollbar-color: gray transparent;
Open the post on X ↗Open in the archive
Similar references
- Gradient border by rotating one layer · @jh3yy
- HeroUI v3 · @hero_ui
- Tooltip only when the text is truncated · @pqoqubbw
- HTML in Canvas · Gábor Pribék
- Distill's own virtualizer · @TGUPJ
- Starting a shadcn project from another one · @andrewqu