Skip to content

Commit

Permalink
Update globals.css
Browse files Browse the repository at this point in the history
Added custom scroll bar
  • Loading branch information
Regun63 authored Oct 1, 2023
1 parent 93d887f commit eafe78e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,16 @@
html{
scroll-behavior: smooth;
}

body::-webkit-scrollbar {
width: 10px;
}

body::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.484);
border-radius: 10px;
}

0 comments on commit eafe78e

Please sign in to comment.