浏览器滚动条样式表-参考喜马拉雅

*,::after,::before {
-webkit-box-sizing: border-box;
box-sizing: border-box
}

::-webkit-scrollbar {
width: 8px;
background-color: #c1787800;
border-radius: 100px;
}

::-webkit-scrollbar:hover {
background-color: rgba(0,0,0,.09)
}

::-webkit-scrollbar:horizontal {
height: 0
}

::-webkit-scrollbar-thumb:vertical {
background: rgba(0,0,0,.5);
border-radius: 100px
}

::-webkit-scrollbar-thumb:active {
background: rgba(0,0,0,.61);
border-radius: 100px
}

相关推荐