*::-webkit-scrollbar {
width: 10px;
}
*::-webkit-scrollbar-thumb {
background: #eee; // 滑块颜色
border-radius: 5px; // 滑块圆角
}
*::-webkit-scrollbar-thumb:hover {
background: #ccc;
}
html滚动条样式
最新推荐文章于 2023-07-17 11:01:19 发布
*::-webkit-scrollbar {
width: 10px;
}
*::-webkit-scrollbar-thumb {
background: #eee; // 滑块颜色
border-radius: 5px; // 滑块圆角
}
*::-webkit-scrollbar-thumb:hover {
background: #ccc;
}