1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| *::-webkit-scrollbar {
width: 6px;
height: 6px;
}
*::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 6px;
}
// 兼容IE Firefox浏览器
* {
scrollbar-width: thin;
scrollbar-base-color: green;
scrollbar-track-color: red;
scrollbar-arrow-color: blue;
}
|