CSS · Properties — CSS Scrollbars Styling

scrollbar-width

The CSS scrollbar-width property. Initial value: auto. Not inherited.

Syntax
scrollbar-width: auto | thin | none

Example

Try it

Notes

Media: visual. Applies to: scrollingBoxes. Computed value: asSpecified.

More in this group

scrollbar-color

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course