Browse Source

修改滚动条样式

outaozhen 4 years ago
parent
commit
16620f6a76
1 changed files with 17 additions and 0 deletions
  1. 17 0
      css/common.scss

+ 17 - 0
css/common.scss

@@ -406,3 +406,20 @@
   overflow: hidden;
   background: white;
 }
+
+/** 滚动条自定义 */
+::-webkit-scrollbar{
+  width: 8px;
+  height: 8px;
+}
+::-webkit-scrollbar-track{
+  background: rgb(239, 239, 239);
+  border-radius: 2px;
+}
+::-webkit-scrollbar-thumb{
+  background: #bfbfbf;
+  border-radius: 10px;
+}
+::-webkit-scrollbar-thumb:hover{
+  background: #636363;
+}