Skip to content

Commit 04b8cf1

Browse files
update
1 parent 8fed410 commit 04b8cf1

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/css/style001.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,28 @@ details[open] > summary::before
5252
border-color: aqua;
5353
}
5454

55+
/* make the scrollbar thinner */
56+
::-webkit-scrollbar {
57+
width: 8px; /* Adjust the thickness here */
58+
}
59+
60+
/* Style the scrollbar track (background of the scrollbar) */
61+
::-webkit-scrollbar-track {
62+
background: #2c3e50; /* Darker background for contrast */
63+
}
64+
65+
/* Style the scrollbar thumb (the draggable part) */
66+
::-webkit-scrollbar-thumb {
67+
background-color: #3498db; /* Bright blue */
68+
border-radius: 4px; /* Rounded corners for a nice look */
69+
border: 2px solid transparent; /* adds some space around thumb */
70+
}
71+
72+
/* hover effect for thumb */
73+
::-webkit-scrollbar-thumb:hover {
74+
background-color: #2980b9; /* Slightly darker on hover */
75+
}
76+
5577
/*----*/
5678

5779
/* Dedicated to God the Father */

0 commit comments

Comments
 (0)