Skip to content

Commit c29b9a0

Browse files
Added custom scrollbar
Added custom scrollbar to all sites that use light mode Credit to Stephen Paton @ https://codepen.io/stephenpaton-tech/full/JjRvGmY
1 parent 77954d9 commit c29b9a0

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

littlelink/css/skeleton-light.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,24 @@ hr {
168168
border-width: 0;
169169
border-top: 1px solid #E1E1E1; }
170170

171-
171+
/* ===== Scrollbar CSS ===== */
172+
/* Firefox */
173+
* {
174+
scrollbar-width: thin;
175+
scrollbar-color: #323232 #dbdbdb;
176+
}
177+
178+
/* Chrome, Edge, and Safari */
179+
*::-webkit-scrollbar {
180+
width: 8px;
181+
}
182+
183+
*::-webkit-scrollbar-track {
184+
background: #dbdbdb;
185+
}
186+
187+
*::-webkit-scrollbar-thumb {
188+
background-color: #323232;
189+
border-radius: 30px;
190+
border: 3px none #ffffff;
191+
}

0 commit comments

Comments
 (0)