feat: customized scrollbar
This commit is contained in:
parent
28242c5519
commit
e38dc9c0d2
1 changed files with 17 additions and 0 deletions
17
styles.css
17
styles.css
|
@ -14,6 +14,23 @@ body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body::-webkit-scrollbar {
|
||||||
|
width: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body::-webkit-scrollbar-track {
|
||||||
|
background: var(--color-background);
|
||||||
|
}
|
||||||
|
body::-webkit-scrollbar-thumb {
|
||||||
|
background-color: var(--color-text) ;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 3px solid var(--color-background);
|
||||||
|
}
|
||||||
|
|
||||||
|
body::-webkit-scrollbar-thumb:hover {
|
||||||
|
border: 1px solid var(--color-background);
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 1280px;
|
max-width: 1280px;
|
||||||
|
|
Loading…
Reference in a new issue