Only enable custom scrollBar to Windows Chrome

This commit is contained in:
2023-06-27 11:20:33 +08:00
parent 83af26d3fa
commit 91d6b44c41
6 changed files with 25 additions and 39 deletions

View File

@@ -1,16 +1,19 @@
::-webkit-scrollbar{
width: 6px;
height: 1px;
}
::-webkit-scrollbar-thumb{
border-radius: 100%;
}
::-webkit-scrollbar-track{
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 10px;
background: #EDEDED;
}
::-webkit-scrollbar-thumb{
background: rgba(0, 0, 0, 0.45);
border-radius: 6px;
}
::-webkit-scrollbar {
width: 6px;
height: 1px;
}
::-webkit-scrollbar-thumb {
border-radius: 100%;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 10px;
background: #EDEDED;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.45);
border-radius: 6px;
}