需要设置某个div视图的滚动条样式(chrome浏览器下)
.leftMenu-scroll {
position: absolute;
overflow-y: auto;
overflow-x: hidden;
width: 149px;
height: calc(100% - 40px);
/*scrollbar set 滚动条设置 */
&::-webkit-scrollbar {
width:5px;
height:10px;
}
&::-webkit-scrollbar-thumb{
background:#333f51;
border-radius:4px;
}
}