From d9c8d514ee0b93c20385d26f4b4e217d0bed3de7 Mon Sep 17 00:00:00 2001 From: Sai Madhuri Bodapati Date: Thu, 23 May 2024 20:17:40 +0400 Subject: [PATCH] Added a custom scrollbar --- frontend/src/index.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/frontend/src/index.css b/frontend/src/index.css index a074b7f..b4b9eb1 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -14,3 +14,22 @@ body { height: 100%; } + +/* Style the scrollbar */ +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar-track { + background: #fff; +} + +::-webkit-scrollbar-thumb { + background: linear-gradient(#B3DAD9,#03565A); + border-radius: 10px; +} + +::-webkit-scrollbar-thumb:hover { + background: #03686b; +} +