提交滚动条的样式,横向的

This commit is contained in:
daihh
2022-11-14 11:32:31 +08:00
parent 1b5b59a2ab
commit 8e50decddf

View File

@@ -6,7 +6,7 @@ body {margin: 0px;padding: 0px;}
/**滚动条的宽度*/
::-webkit-scrollbar {
width: 8px;
height: 24px;
height: 10px;
scrollbar-color: #009cea #f7f7f9; /* 滑块颜色 滚动条背景颜色 */
scrollbar-width: thin; /* 滚动条宽度有三种thin、auto、none */
}
@@ -20,7 +20,7 @@ body {margin: 0px;padding: 0px;}
::-webkit-scrollbar-thumb:hover {
background: #D8D8D8;
height: 24px;
height: 12px;
width: 12px;
}