/*滚动条样式*/
ul::-webkit-scrollbar {
/*width: 1px; */
height:3px;
/*height: 4px;*/
}
ul::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
background: rgba(0,0,0,0.2);
}
ul::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
border-radius: 10px;
background: rgba(0,0,0,0.1);
}
使用css修改滚动条样式
最新推荐文章于 2024-07-27 02:24:11 发布