不使用ElementUI实现el-scrollbar效果
1 ::-webkit-scrollbar { 2 width: 8px; 3 height: 8px; 4 } 5 6 ::-webkit-scrollbar-thumb { 7 background-color: #d5d5d5; 8 border-radius: 5px; 9 }
CSS修改浏览器滚动条样式
1 ::-webkit-scrollbar { 2 width: 8px; 3 height: 8px; 4 } 5 6 ::-webkit-scrollbar-thumb { 7 background-color: #d5d5d5; 8 border-radius: 5px; 9 }
CSS修改浏览器滚动条样式