.webkit-scrollbar::-webkit-scrollbar {
width: 9px;
height: 9px
}
.webkit-scrollbar::-webkit-scrollbar-track {
border-radius: 8px;
background-color: rgba(0,0,0,0)
}
.webkit-scrollbar::-webkit-scrollbar-track:hover {
background-color: rgba(0,0,0,0.06);
-webkit-box-shadow: -2px 0 0 #fff inset,1px 0 0 rgba(255,255,255,0.9) inset,0 -1px 0 rgba(255,255,255,0.9) inset,0 1px 0 rgba(255,255,255,0.9) inset
}
.webkit-scrollbar::-webkit-scrollbar-track:active {
background-color: rgba(0,0,0,0.1)
}
.webkit-scrollbar::-webkit-scrollbar-thumb {
border-radius: 8px;
background-color: rgba(0,0,0,0.1);
-webkit-box-shadow: -2px 0 0 #fff inset,1px 0 0 #fff inset,0 -1px 0 rgba(255,255,255,0.9) inset,0 1px 0 rgba(255,255,255,0.9) inset
}
.webkit-scrollbar::-webkit-scrollbar-thumb:hover {
background-color: rgba(0,0,0,0.4)
}
.webkit-scrollbar::-webkit-scrollbar-thumb:active {
background: rgba(0,0,0,0.6)
}
Chrome内核浏览器滚动条美化
猜你喜欢
转载自blog.csdn.net/mbh12333/article/details/100737602
今日推荐
周排行