avatar 奔跑的Q丶

主题凑合用,样式即将改版...

隐藏滚动条方法

隐藏滚动条方法:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.container {
/* only 'overflow-x: hidden' for firefox */
overflow: hidden;
.target {
overflow-y: scroll;
/* ie */
-ms-overflow-style: none;
/* chrome */
&::-webkit-scrollbar {
width: 0;
}
/* firefox (unreliable) */
@-moz-document url-prefix() {
& {
margin-right: -16px;
padding-right: 16px;
}
}
}
}