antDesign 修改滾動條樣式
阿新 • • 發佈:2021-02-20
技術標籤:antDesign
.ant-table-body{
&::-webkit-scrollbar {
height: 5px;
}
&::-webkit-scrollbar-thumb {
border-radius: 5px;
-webkit-box-shadow: inset 0 0 5px red;
background: #ccc;
}
&::-webkit-scrollbar-track {
-webkit-box-shadow : 0;
border-radius: 0;
background: #191f28;
}
}