css 滚动条样式
1 /* 滚动条样式 */ 2 ::-webkit-scrollbar-track{ 3 background:rgba(0, 0, 0, .1); 4 border-radius: 0; 5 } 6 ::-webkit-scrollbar{ 7 -webkit-appearance: none; 8 width: 10px; 9 height: 10px; 10 } 11 ::-webkit-scrollbar-thumb{ 12 cursor: pointer; 13 border-radius: 5px; 14 background: rgba(0, 0, 0, .25); 15 transition: color .2s ease; 16 }