The scrollbar-width property for CSS allows the author to set the maximum thickness of an element's scrollbars when they are shown.
object.style.scrollbarWidth = "value";
<'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.