Voyz's Studio.

css隐藏滚动条

字数统计: 33阅读时长: 1 min
2019/07/16 Share

css隐藏滚动条

1
2
3
4
5
6
7
8
chrome 和Safari:
.element::-webkit-scrollbar { width: 0 !important }

IE 10+:
.element { -ms-overflow-style: none; }

Firefox:
.element { overflow: -moz-scrollbars-none; }
CATALOG
  1. 1. css隐藏滚动条