修改滚动条的颜色

This commit is contained in:
daihh
2022-11-21 10:43:35 +08:00
parent f2fd9cf526
commit 2badc72d6f

View File

@@ -7,7 +7,7 @@ body {margin: 0px;padding: 0px;}
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 8px; width: 8px;
height: 10px; height: 10px;
scrollbar-color: #009cea #f7f7f9; /* 滑块颜色 滚动条背景颜色 */ scrollbar-color: #c1c1c1 #f7f7f9; /* 滑块颜色 滚动条背景颜色 */
scrollbar-width: thin; /* 滚动条宽度有三种thin、auto、none */ scrollbar-width: thin; /* 滚动条宽度有三种thin、auto、none */
} }
@@ -15,7 +15,7 @@ body {margin: 0px;padding: 0px;}
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
//background-color: #D8D8D8; //background-color: #D8D8D8;
border-radius: 3px; border-radius: 3px;
background-color: rgb(103, 197, 255); background-color: #c1c1c1;
} }
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {