summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaster4385 <blaster4385@tablaster.dev>2024-04-22 11:55:59 +0530
committerBlaster4385 <blaster4385@tablaster.dev>2024-04-22 23:13:08 +0530
commitcf14ea7d0279034e695f96d39064491610200b51 (patch)
treebf60ecdd8c702c2027d4b7d9feb11e7bffaa6abe
parent57f50462a54920d8a87aaefa1e6945338270ebe5 (diff)
feat: customized scrollbar
-rw-r--r--styles.css17
1 files changed, 17 insertions, 0 deletions
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;