Browse Source

修改全局scrollbar

Morales 5 months ago
parent
commit
b0fb7cce6e
1 changed files with 11 additions and 0 deletions
  1. 11 0
      heida/src/App.vue

+ 11 - 0
heida/src/App.vue

@@ -60,4 +60,15 @@ ul,li {
     top: 0;
     top: 0;
     left: 0;
     left: 0;
 }
 }
+
+::-webkit-scrollbar {
+  width: 4px;
+  height: 4px;
+  background-color: transparent;
+  border-radius: 3px;
+}
+::-webkit-scrollbar-thumb {
+  background-color: #057dd9;
+  border-radius: 3px;
+}
 </style>
 </style>