1body::-webkit-scrollbar {
2 width: 12px; /* width of the entire scrollbar */
3}
4body::-webkit-scrollbar-track {
5 background: orange; /* color of the tracking area */
6}
7body::-webkit-scrollbar-thumb {
8 background-color: blue; /* color of the scroll thumb */
9 border-radius: 20px; /* roundness of the scroll thumb */
10 border: 3px solid orange; /* creates padding around scroll thumb */
11}
1/* Works on Firefox */
2* {
3 scrollbar-width: thin;
4 scrollbar-color: blue orange;
5}
6
7/* Works on Chrome, Edge, and Safari */
8*::-webkit-scrollbar {
9 width: 12px;
10}
11
12*::-webkit-scrollbar-track {
13 background: orange;
14}
15
16*::-webkit-scrollbar-thumb {
17 background-color: blue;
18 border-radius: 20px;
19 border: 3px solid orange;
20}
1/* width */
2*::-webkit-scrollbar {
3 width: 10px;
4}
5
6/* Track */
7*::-webkit-scrollbar-track {
8 background: #f1f1f1;
9}
10
11/* Handle */
12*::-webkit-scrollbar-thumb {
13 background: #888;
14}
15
16/* Handle on hover */
17*::-webkit-scrollbar-thumb:hover {
18 background: #555;
19}
1
2// scroll bar
3/* width */
4::-webkit-scrollbar {
5 background-color: hsl(235, 24%, 19%);
6 width: 8px;
7}
8
9/* Track */
10::-webkit-scrollbar-track {
11 background-color: hsla(235, 21%, 11%, 0.322);
12 box-shadow: 0 0 3px hsl(235, 21%, 11%);
13 border-radius: 10px;
14}
15
16/* Handle */
17::-webkit-scrollbar-thumb {
18 background-color: hsl(235, 21%, 11%);
19 border-radius: 10px;
20}
21
22/* Handle on hover */
23::-webkit-scrollbar-thumb:hover {
24 background: hsl(220, 98%, 61%);
25}
1/* Chrome, safari */
2*::-webkit-scrollbar {
3 width: 8px;
4}
5
6*::-webkit-scrollbar-thumb {
7 background-color: gray;
8}
9
10/* Firefox */
11.selector {
12 scrollbar-width: none;
13 }
1body::-webkit-scrollbar {
2 width: 10px;
3}
4
5body::-webkit-scrollbar-track {
6 border-radius: px;
7 background: #c9cacc;
8}
9
10body::-webkit-scrollbar-track:hover {
11 background: #78797a;
12}
13
14body::-webkit-scrollbar-thumb {
15 background: #3d5585;
16 border-radius: 10px;
17}
18
19body::-webkit-scrollbar-thumb:hover {
20 background: #01143b;
21}