📜  删除滚动条 css 代码示例

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

代码示例6
html {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

html::-webkit-scrollbar {
    width: 0px; /* For Chrome, Safari, and Opera */
}