css自定义滚动条样式
效果图:
css样式:
/*整体部分*/
::-webkit-scrollbar{
width: 10px;
height: 10px;
}
/*滑动轨道*/
::-webkit-scrollbar-track{
border-radius: 0px;
background: none;
}
/*滑块*/
::-webkit-scrollbar-thumb{
border-radius: 5px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.
原创
2020-10-24 16:12:49 ·
220 阅读 ·
0 评论