Andrew's Digital Garden

Styling scrollbars

scrollbar-width and scrollbar-color now exist to help style scrollbars.

scrollbar-width accepts any of: auto, thin, or none

scrollbar-color accepts two colours, the first for the thumb, and the second for the track.

This is part of the CSS Scrollbars Styling Module Level 1 spec. https://drafts.csswg.org/css-scrollbars/

https://developer.chrome.com/docs/css-ui/scrollbar-styling

[[css]]

Styling scrollbars