您可以使其自动隐藏而不是始终显示:
html {
-ms-overflow-style: -ms-autohiding-scrollbar;
}
原来是这样的:
![](https://i-blog.csdnimg.cn/blog_migrate/432cf45a44c70205c4d1e4472ea187e2.gif)
感谢Thierry Koblentz从Jon Neal的Sanitize.css中挖出了这颗宝石。
翻译自: https://css-tricks.com/snippets/css/hide-scrollbar-in-edge-ie-1011/
您可以使其自动隐藏而不是始终显示:
html {
-ms-overflow-style: -ms-autohiding-scrollbar;
}
原来是这样的:
感谢Thierry Koblentz从Jon Neal的Sanitize.css中挖出了这颗宝石。
翻译自: https://css-tricks.com/snippets/css/hide-scrollbar-in-edge-ie-1011/