style:滚动条样式
Showing
1 changed file
with
7 additions
and
3 deletions
| ... | @@ -108,16 +108,20 @@ | ... | @@ -108,16 +108,20 @@ |
| 108 | height: 7px; | 108 | height: 7px; |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | ::-webkit-scrollbar-corner { | ||
| 112 | display: none; | ||
| 113 | } | ||
| 114 | |||
| 111 | ::-webkit-scrollbar-track { | 115 | ::-webkit-scrollbar-track { |
| 112 | width: 7px; | 116 | width: 7px; |
| 113 | background-color: #29409D; | 117 | background-color: rgba(0, 0, 0, 0); |
| 114 | -webkit-border-radius: 6px; | 118 | -webkit-border-radius: 6px; |
| 115 | -moz-border-radius: 6px; | 119 | -moz-border-radius: 6px; |
| 116 | border-radius: 6px; | 120 | border-radius: 6px; |
| 117 | } | 121 | } |
| 118 | 122 | ||
| 119 | ::-webkit-scrollbar-thumb { | 123 | ::-webkit-scrollbar-thumb { |
| 120 | background-color: #355194; | 124 | background: #458ACF; |
| 121 | background-clip: padding-box; | 125 | background-clip: padding-box; |
| 122 | min-height: 28px; | 126 | min-height: 28px; |
| 123 | -webkit-border-radius: 6px; | 127 | -webkit-border-radius: 6px; |
| ... | @@ -126,7 +130,7 @@ | ... | @@ -126,7 +130,7 @@ |
| 126 | } | 130 | } |
| 127 | 131 | ||
| 128 | ::-webkit-scrollbar-thumb:hover { | 132 | ::-webkit-scrollbar-thumb:hover { |
| 129 | background-color: rgb(162, 164, 167); | 133 | background: #458ACF; |
| 130 | } | 134 | } |
| 131 | 135 | ||
| 132 | // element 样式补丁 | 136 | // element 样式补丁 | ... | ... |
-
Please register or sign in to post a comment