Menu Riverview Church

SCROLLBAR-WIDTH

The scrollbar-width property allows the author to set the maximum thickness of an element's scrollbars when they are shown.

SYNTAX

CSS

scrollbar-width: value;

JS

object.style.scrollbarWidth = "value";

VALUES

<'scrollbar-width'> = auto | thin | none
auto

Automatically specified by the user agent.

thin

Implementations should use thinner scrollbars than auto when applicable.

none

Implementations must not display any scrollbar, however the element’s scrollability is not affected.

INITIAL

auto

EXAMPLES

AUTO

NONE

THIN

JS

INTERNAL

scrollbar-color

EXTERNAL

World Wide Web Consortium (W3C)