//滾動條的寬度
.your-table .el-table__body-wrapper::-webkit-scrollbar {
width: 10px;
height: 10px;
}
//滾動條的滑塊
.your-table .el-table__body-wrapper::-webkit-scrollbar-thumb {
background-color: #a1a3a9;
border-radius: 3px;
}
如果是整個頁面的滾動條風格是一緻的,直接改全局的滾動條樣式也可以有效果~
//滾動條的寬度
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
//滾動條的滑塊
::-webkit-scrollbar-thumb {
background-color: #a1a3a9;
border-radius: 3px;
}