Skip to content

Commit

Permalink
feat: customize scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
hamid-dionysus committed Feb 20, 2024
1 parent 4cfb689 commit 8e3a084
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,20 @@
html {
scroll-behavior: smooth;
}

body {
&::-webkit-scrollbar {
width: 8px;
height: 8px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: #ffffff;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb:hover {
background: #dadada;
}
}

0 comments on commit 8e3a084

Please sign in to comment.