★— 修改浏览器默认滚动条样式
::-webkit-scrollbar {
width: 6px;
height: 1px;
}
::-webkit-scrollbar-thumb { // 滑块部分
border-radius: 3px;
background-color: rgba(0, 0, 0, 0.15);
}
::-webkit-scrollbar-track { // 轨道部分
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background: #ededed;
border-radius: 5px;
}