/*全局滚动条样式*/
/*滚动条轨道*/
::-webkit-scrollbar {
width: 3px;
height: 10px;
background: white;
}
/*滚动条滑块*/
::-webkit-scrollbar-thumb {
border-radius: 50px;
background: #3873FF;
cursor: pointer;
}
::-webkit-scrollbar-track{
background: transparent;
}
/*移入滑块*/
::-webkit-scrollbar-thumb:hover {
background: #3873FF;
}
/*拐角处*/
::-webkit-scrollbar-corner {
/* background: none; */
}
全局滚动条代码片段
于 2022-10-12 14:23:14 首次发布