/* 设置滚轮的宽高 */
/*contentDiv 需要改变滚轮的部分*/
.contentDiv::-webkit-scrollbar{
width: 3px;
height: 9px;
}
.contentDiv::-webkit-scrollbar-track{
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
.contentDiv::-webkit-scrollbar-thumb{
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.15);
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
}
css设置滚轮大小
最新推荐文章于 2024-07-03 14:39:37 发布