::-webkit-scrollbar {
width: 2px;
height: 1px;
}
::-webkit-scrollbar-thumb {
background-color: #999;
-webkit-border-radius: 5px;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:vertical:hover {
background-color: #666;
}
::-webkit-scrollbar-thumb:vertical:active {
background-color: #333;
}
::-webkit-scrollbar-button {
display: none;
}
::-webkit-scrollbar-track {
background-color: #f1f1f1;
}
修改滚动条样式(亲测好用)
最新推荐文章于 2024-05-10 11:28:11 发布