<style type="text/css">
.scrolldiv{
height: 85%;
overflow: hidden;
overflow-y: scroll;
}
.scrolldiv::-webkit-scrollbar-track-piece {
background-color: #FFF;
border-left: 1px solid #FFF;
}
.scrolldiv::-webkit-scrollbar {
width: 2px;
height: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.scrolldiv::-webkit-scrollbar-thumb {
background-color: #ccc;
background-clip: padding-box;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
min-height: 10px;
}
.scrolldiv::-webkit-scrollbar-thumb:hover {
background-color: #ccc;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
</style>
ios微信浏览器-div设置滚动-不出现滚动条的解决办法
最新推荐文章于 2024-08-25 04:02:38 发布