📜  隐藏水平滚动条 css 代码示例

📅  最后修改于: 2022-03-11 14:47:34.187000             🧑  作者: Mango

代码示例6
.container {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
.container::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}