ie scrollbar

-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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值