Skip to content

Commit 8bacaf0

Browse files
committed
Add Custom Scrollbar
1 parent 1d39e39 commit 8bacaf0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

styles/globals.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,21 @@
3434
border-radius: 10px;
3535
border: 1px solid rgba(255, 255, 255, 0.18);
3636
}
37+
38+
::-webkit-scrollbar {
39+
width: 0.5rem;
40+
height: 0.5rem;
41+
}
42+
43+
::-webkit-scrollbar-track {
44+
background: #f1f1f1;
45+
border-radius: 10px;
46+
}
47+
48+
::-webkit-scrollbar-thumb {
49+
background: #888;
50+
border-radius: 10px;
51+
}
52+
::-webkit-scrollbar-thumb:hover {
53+
background: #555;
54+
}

0 commit comments

Comments
 (0)