adding custom scrollbar
This commit is contained in:
parent
446897e842
commit
19493437c1
@ -4,7 +4,26 @@ html {
|
||||
-moz-background-size: cover;
|
||||
-o-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 {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user