feat: customized scrollbar

This commit is contained in:
Blaster4385 2024-04-22 11:55:59 +05:30
parent 57f50462a5
commit cf14ea7d02

View file

@ -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;