From 4443f13b1de2327b7ad72e6676c3b7b9dd03556a Mon Sep 17 00:00:00 2001 From: dengtongyu Date: Fri, 8 Dec 2023 17:09:26 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/global.less | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/styles/global.less b/src/styles/global.less index c8c8244..78a3783 100644 --- a/src/styles/global.less +++ b/src/styles/global.less @@ -81,6 +81,25 @@ body { -moz-osx-font-smoothing: grayscale; } +* { + &::-webkit-scrollbar { + /*滚动条整体样式*/ + width: 6px; + height: 6px; + background-color: #F5F6F7; + } + + &::-webkit-scrollbar-thumb { + /*滚动条里面小方块*/ + background-color: rgba(0, 0, 0, 0.12); + border-radius: 6px; + } + + // firefox + scrollbar-color: rgba(0, 0, 0, 0.12) rgb(245, 246, 247); + scrollbar-width: thin; + } + a, .green { text-decoration: none;