Skip to content

Commit

Permalink
发布 修改滚动条
Browse files Browse the repository at this point in the history
  • Loading branch information
duolabmeng6 committed Nov 4, 2023
1 parent 03f388a commit a2baccb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GoEasyDesigner/frontend/src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ html, body{

/* 修改滚动条轨道的宽度 */
::-webkit-scrollbar {
width: 2px; /* 调整滚动条宽度为8像素 */
height: 2px; /* 调整滚动条高度为2像素 */
width: 4px; /* 调整滚动条宽度为8像素 */
height: 4px; /* 调整滚动条高度为2像素 */
}

/* 修改滚动条轨道的背景颜色 */
Expand All @@ -146,12 +146,12 @@ html, body{

/* 修改滚动条的滑块(拖动条)颜色 */
::-webkit-scrollbar-thumb {
background-color: #888; /* 设置滑块的颜色 */
background-color: #c4c4c4; /* 设置滑块的颜色 */
}

/* 修改滚动条的边框颜色 */
::-webkit-scrollbar-thumb:hover {
background-color: #555; /* 设置滑块的悬停颜色 */
background-color: #a9a9a9; /* 设置滑块的悬停颜色 */
}

* {
Expand Down

0 comments on commit a2baccb

Please sign in to comment.