CSS - -ms-overflow-style

-ms-overflow-style is a proprietary CSS property, specific to Internet Explorer and Microsoft Edge, which controls the behavior of scrollbars when an element's content overflows.

Description  

-ms-overflow-style is a proprietary CSS property, specific to Internet Explorer and Microsoft Edge, which controls the behavior of scrollbars when an element's content overflows.

Initial valueauto
Applies tonon-replaced block-level elements and non-replaced inline-block elements
Inheritedyes
Mediainteractive
Computed valueas specified
Animatableno
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Specifications  

Not part of any specification. Microsoft has a description on MSDN.

Values

auto
Initial value. Same as inherit.
none
Scrollbars are never displayed, although the element can still be scrolled if the element's content overflows.
scrollbar
"Traditional" scrollbars are displayed if the element's content overflows. "Traditional" scrollbars don't auto-hide and never overlap the element's content. Accordingly, the dimensions of the layout area for the content are reduced by the girth of the scrollbar(s).
-ms-autohiding-scrollbar
Auto-hiding scrollbars are used if the element's content overflows. Auto-hiding scrollbars are displayed during scrolling or shortly after the pointer interacts with the page, and are hidden shortly after scrolling and pointer interaction stops. When they are visible, auto-hiding scrollbars overlap the element's content.

Formal syntax

auto | none | scrollbar | -ms-autohiding-scrollbar

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/-ms-overflow-style