/*滚动条样式start*/ ::-webkit-scrollbar { width: 3px; height: 8px; } ::-webkit-scrollbar-button { width: 0; height: 0; } ::-webkit-scrollbar-thumb { min-height: 28px; padding-top: 100; background-color: rgba(0, 0, 0, .1); -webkit-background-clip: padding-box; background-clip: padding-box; border-radius: 5px; -webkit-box-shadow: inset 1px 1px 0 rgb(0 0 0 / 10%), inset 0 -1px 0 rgb(0 0 0 / 7%); } /*滚动条样式end*/
标签:padding,样式,height,滚动条,1px,background,webkit,css From: https://www.cnblogs.com/mtjj/p/17015390.html