adding custom scrollbar

This commit is contained in:
Jesse James Isler 2022-03-29 09:44:51 +02:00
parent 446897e842
commit 19493437c1

View File

@ -4,7 +4,26 @@ html {
-moz-background-size: cover; -moz-background-size: cover;
-o-background-size: cover; -o-background-size: cover;
background-size: cover; background-size: cover;
--scrollbarBG: #CFD8DC;
--thumbBG: #90A4AE;
} }
body::-webkit-scrollbar {
width: 11px;
}
body {
scrollbar-width: thin;
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body::-webkit-scrollbar-track {
background: var(--scrollbarBG);
}
body::-webkit-scrollbar-thumb {
background-color: var(--thumbBG) ;
border-radius: 6px;
border: 3px solid var(--scrollbarBG);
}
.card { .card {
opacity: 0.9; opacity: 0.9;
} }