HTML {
 scrollbar-base-color: #666;   

 scrollbar-3dlight-color: #666;   
 scrollbar-highlight-color: #666;   
 scrollbar-highlight-width: 2px;
 scrollbar-track-color: #FFFFFF;   
 scrollbar-arrow-color: #FFFFFF;
 scrollbar-shadow-color: #666;   
 scrollbar-dark-shadow-color: #666;
}  

/* chrome */
::-webkit-scrollbar { width: 5px; height: 3px;}   
::-webkit-scrollbar-track-piece { background-color: #ffffff;}   
::-webkit-scrollbar-thumb{height: 50px; background-color: #666; -webkit-border-radius: 3px;}
.custom-scroll-bar::-webkit-scrollbar{

 background:-webkit-linear-gradient(left,rgba(202, 202, 202, 0.07) 0%,rgba(229, 229, 229, 0.07) 100%);

 width:10px;
 -webkit-box-shadow:0 0 1px 0 rgba(0,0,0,.15) inset,0 1px 0 0 #fff;

 box-shadow:0 0 1px 0 rgba(0,0,0,.15) inset,0 1px 0 0 #fff;

 background-color:#E5E5E5;
}
.custom-scroll-bar::-webkit-scrollbar, .custom-scroll-bar::-webkit-scrollbar-thumb{
 overflow: visible;
 border-radius:4px;
 border:solid 1px #A6A6A6;
}
.custom-scroll-bar::-webkit-scrollbar-button{
 background-color:transparent;height:0px;display:block;
}
.custom-scroll-bar::-webkit-scrollbar-thumb:hover{
 background-color: #fff;
}

评论

您还没有登陆,登陆后可以发表评论哦!点击登陆