我面临一个关于 IE 中水平滚动条的问题。我想降低水平滚动条的高度。我已经在 Chrome 中对其进行了自定义,但该样式并未在 IE 中应用。
CSS:
.scrollbar-style::-webkit-scrollbar {
height: 5px !important;
}
谁能告诉我他们是否在 IE 中自定义滚动条?
最佳答案
它只适用于 webkit 浏览器。
在文档中,提到它是非标准的。
Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
它不受 Internet Explorer 支持,因此无法在其上运行。
引用:
关于css - IE水平滚动条自定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53513948/