.mian {
width: 238px !important;
background-color: #fff;
border: 1px solid #eaeaea;
::-webkit-scrollbar {
/* 这里的宽是指竖向滚动条的宽,高是指横向滚动条的高*/
width: 7px;
height: 8px;
background: pink;
}
/* 滚动条凹槽,还可以设置边框属性。此处属性也可以直接在容器中设置 */
::-webkit-scrollbar-track-piece {
background-color: #fff;
}
/* 滚动条 */
::-webkit-scrollbar-thumb {
// border-radius: 4px;
background: #e6e6e6;
}
::-webkit-scrollbar-thumb:hover {
border-radius: 4px;
background: rgba(0, 0, 0, 0.3);
}
}