::-webkit-scrollbar {
width: 5px;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.1);
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: rgba(0, 0, 0, 0.5);
/* background-color: #941100 */
}
自定义滚动条--笔记
猜你喜欢
转载自blog.csdn.net/u010505805/article/details/105518235
今日推荐
周排行