mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
✨ Add custom scrollbar.
This commit is contained in:
parent
dd57fcdad4
commit
97e61b32b2
20
src/app.css
20
src/app.css
@ -9,3 +9,23 @@
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
body {
|
||||
--sb-track-color: #171717;
|
||||
--sb-thumb-color: #404040;
|
||||
--sb-size: 10px;
|
||||
|
||||
scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
|
||||
}
|
||||
|
||||
body::-webkit-scrollbar {
|
||||
width: var(--sb-size);
|
||||
}
|
||||
|
||||
body::-webkit-scrollbar-track {
|
||||
background: var(--sb-track-color);
|
||||
}
|
||||
|
||||
body::-webkit-scrollbar-thumb {
|
||||
background: var(--sb-thumb-color);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user