Skip to content

Commit

Permalink
feat: improve webkit scrollbar style
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHosseinKarimi committed Feb 25, 2024
1 parent 13cc265 commit 2bdca9f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ html {
body {
&::-webkit-scrollbar {
width: 8px;
height: 8px;
}

&::-webkit-scrollbar-track {
background: transparent;
background: #333;
}

&::-webkit-scrollbar-thumb {
background: #ffffff;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb:hover {
background: #dadada;
background: #555;
border-radius: 8px;

&:hover {
background: #dadada;
}
}
}
}

0 comments on commit 2bdca9f

Please sign in to comment.