diff --git a/src/assets/index.css b/src/assets/index.css index 43cdb4c0..0a27cbf5 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -1,5 +1,29 @@ @import "fonts/index.css"; +/* + * @description 侧边滚动条样式 + * @since Alpha v0.1.3 + */ +::-webkit-scrollbar { + width: 10px; + height: 10px; + border-radius: 10px; +} + +::-webkit-scrollbar-track { + background: #f1f1f1; + border-radius: 10px; +} + +::-webkit-scrollbar-thumb { + background: #888; + border-radius: 10px; +} + +::-webkit-scrollbar-thumb:hover { + background: #555; +} + /* * @description 米游社解析 json * @since Alpha v0.1.1