使用css改变滚动条宽度以及颜色代码如下
::-webkit-scrollbar{width:8px;}
::-webkit-scrollbar-thumb{background-color:#00aff0;}
::-webkit-scrollbar-track{background-color:#bee1eb;}
::-webkit-scrollbar-thumb:hover {background-color:#9c3}
::-webkit-scrollbar-thumb:active {background-color:#00aff0}
评论 (0)