修改scrollBar样式

This commit is contained in:
klausY 2020-11-06 16:09:30 +08:00
parent 0a4e81138a
commit 3d56cb7eb2
1 changed files with 19 additions and 1 deletions

View File

@ -1338,4 +1338,22 @@ $mainHight: 100vh;
color: #ff85c0;
}
}
}
}::-webkit-scrollbar-track-piece{
background-color: #f8f8f8;
}
::-webkit-scrollbar{
width: 9px;
height: 9px;
}
::-webkit-scrollbar-thumb{
background-color: #dddddd;
background-clip:padding-box;
min-height: 28px;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover{
background-color: #bbb;
}