From 2ed16870a7a6d14b3d15e944e414d721ea4f3552 Mon Sep 17 00:00:00 2001 From: Eshu Date: Fri, 29 Oct 2021 20:01:16 +0530 Subject: [PATCH] Added a custom scrollbar matching the colour theme of website --- css/templatemo-style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/css/templatemo-style.css b/css/templatemo-style.css index 158b336..cbf6c54 100644 --- a/css/templatemo-style.css +++ b/css/templatemo-style.css @@ -1081,3 +1081,19 @@ header { } } +::-webkit-scrollbar +{ + width: 10px; + background-color: #F5F5F5; +} + +::-webkit-scrollbar-thumb +{ + background-color: #FFF; + background-image: -webkit-linear-gradient(90deg, + rgba(0, 0, 0, 1) 0%, + rgba(0, 0, 0, 1) 25%, + transparent 100%, + rgba(0, 0, 0, 1) 75%, + transparent) +} \ No newline at end of file