zoukankan      html  css  js  c++  java
  • css3.0滚动条的优化

    .ass_showFriends{ 93%;height: 8.35rem;overflow-y: auto;}
    .ass_showFriends::-webkit-scrollbar{ 1px;height: 1px;background-color: #d9d9d9;}  
    /*定义滚动条轨道 内阴影+圆角*/  
    .ass_showFriends::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.8);border-radius: 1px;background-color: #d9d9d9;}  
    /*定义滑块 内阴影+圆角*/  
    .ass_showFriends::-webkit-scrollbar-thumb{border-radius: 10px;-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.8);background-color: #666;} 
    
    

  • 相关阅读:
    @雅礼集训01/13
    @hdu
    @bzoj
    @hdu
    @bzoj
    @雅礼集训01/10
    @codeforces
    @spoj
    @bzoj
    @bzoj
  • 原文地址:https://www.cnblogs.com/intelwisd/p/8403680.html
Copyright © 2011-2022 走看看