diff options
author | Blaster4385 <blaster4385@tablaster.dev> | 2024-04-22 11:55:59 +0530 |
---|---|---|
committer | Blaster4385 <blaster4385@tablaster.dev> | 2024-04-22 23:13:08 +0530 |
commit | cf14ea7d0279034e695f96d39064491610200b51 (patch) | |
tree | bf60ecdd8c702c2027d4b7d9feb11e7bffaa6abe /styles.css | |
parent | 57f50462a54920d8a87aaefa1e6945338270ebe5 (diff) |
feat: customized scrollbar
Diffstat (limited to 'styles.css')
-rw-r--r-- | styles.css | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -14,6 +14,23 @@ body { 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 { margin: auto; max-width: 1280px; |