Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 053b19f

Browse files
committedNov 4, 2024
Update style.css
1 parent de64070 commit 053b19f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎03. Custom Scrollbar/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ body {
2020

2121
/* Scrollbar */
2222
::-webkit-scrollbar {
23-
background-color: transparent;
24-
width: 10px;
23+
width: 10px; /* Ширина скроллбара */
24+
background-color: transparent; /* Полностью невидимый скроллбар */
2525
}
2626

2727
::-webkit-scrollbar-thumb {
28-
background: linear-gradient(#21d4fd, #b721ff);
29-
border-radius: 100px;
28+
background: linear-gradient(#21d4fd, #b721ff); /* Градиентный фон только на thumb */
29+
border-radius: 100px; /* Скругленные края */
3030
}

0 commit comments

Comments
 (0)
Please sign in to comment.