当前位置:Gxlcms > html代码 > html中设置滚动条的样式_html/css_WEB-ITnose

html中设置滚动条的样式_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:4人阅读

一、效果图

二、css

::-webkit-srollbar-track-piece{background:none;-webkit-border-radius:0;}::-webkit-scrollbar{width:8px;height:8px;}::-webkit-scrollbar-thumb:vertical{height:50px;background-color:#bbbbbb;-webkit-border-radius:4px;outline:0px solid #ffffff;ouline-offset:-2px;border:2px solid #ffffff;}::-webkit-scrollbar-thumb:hover{height:50px;background-color:#999999;-webkit-border-radius:4px;}::-webkit-scrollbar-thumb:horizontal{width:50px;background-color:#bbbbbb;-webkit-border-radius:4px;outline:0px solid #ffffff;ouline-offset:-2px;border:2px solid #ffffff;}

人气教程排行