首页 > 其他 > 详细

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

时间:2020-01-07 16:25:00      阅读:81      评论:0      收藏:0      [点我收藏+]

*,::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
}

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

原文:https://www.cnblogs.com/yang6/p/12161797.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!