css样式
加载全局样式中
::-webkit-scrollbar{ width:3px; height:0px;} /* 滚动条的大小 */
::-webkit-scrollbar-track {background-color: #6d7277;} /* 滚动条的滑轨背景颜色 */
::-webkit-scrollbar-thumb {background-color:#4b4d50; border-radius:0px;}
指定元素:
.bottom_li::-webkit-scrollbar{ width:3px; height:0px;} /* 滚动条的大小 /
.bottom_li::-webkit-scrollbar-track {background-color: #6d7277;} / 滚动条的滑轨背景颜色 */
.bottom_li::-webkit-scrollbar-thumb {background-color:#4b4d50; border-radius:0px;}