如何使滚动条透明?仅限于 Webkit 浏览器。只需使用 CSS。以下是代码链接:http://codepen.io/anon/pen/DpKyn。
div{
width:410px;
height:100px;
overflow-y:overlay;
border:1px solid green;
position:relative;
}
::-webkit-scrollbar{
width:20px;
}
::-webkit-scrollbar-thumb{
background-color:rgba(0,0,0,1);
}
.png
格式。 - Mr. Alien