From e38dc9c0d245b06b6da5c78de7b9b223259a4edc Mon Sep 17 00:00:00 2001 From: Blaster4385 Date: Mon, 22 Apr 2024 11:55:59 +0530 Subject: [PATCH] feat: customized scrollbar --- styles.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/styles.css b/styles.css index 493f58d..6242309 100644 --- a/styles.css +++ b/styles.css @@ -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;