非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
-ms-overflow-style
CSS
特性为
Microsoft extension
controlling the behavior of scrollbars when the content of an element overflows.
| 初始值 |
auto
|
|---|---|
| 适用于 | non-replaced block-level elements and non-replaced inline-block elements |
| 继承 | yes |
| 计算值 | 如指定 |
| 动画类型 | discrete |
auto
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 width (for vertical scrollbars) or height (for horizontal scrollbars) 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.
auto | none | scrollbar | -ms-autohiding-scrollbar
Not part of any specification.