ie scrollbar

来源:互联网 发布:淘宝怎么优化 编辑:程序博客网 时间:2024/06/06 09:59

-ms-overflow-style: auto | none | scrollbar | -ms-autohiding-scrollbar

Property values

One or more of the following scrolling method values, in the order of preference.

auto

Initial value. Indicates the element inherits its -ms-overflow-style from its parent element.

In Internet Explorer for the desktop, on the root element, auto behaves like scrollbar.

In Internet Explorer in the Windows UI, on the root element, auto behaves like -ms-autohiding-scrollbar.

none

Indicates the element does not display scrollbars or panning indicators, even when its content overflows.

Unlike overflowhidden, elements with -ms-overflow-stylenone can still be scrolled via touch panning, keyboard, or mouse wheel.

scrollbar

Indicates the element displays a classic scrollbar-type control when its content overflows.

Unlike -ms-autohiding-scrollbar, scrollbars on elements with the -ms-overflow-style property set to scrollbar always appear on the screen and do not fade out when the element is inactive.

Scrollbars do not overlay content, and therefore take up extra layout space along the edges of the element where they appear.

-ms-autohiding-scrollbar

Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions.

Auto-hiding scrollbars overlay content, and therefore do not require extra layout space.

原创粉丝点击