Skip to content

Commit

Permalink
Add custom beautiful scrollbars
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Jul 28, 2023
1 parent 9caba81 commit 88fe7dc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,21 @@
.v-leave-to {
opacity: 0;
}

::-webkit-scrollbar {
width: 0.5em;
height: 0.5em;
}
::-webkit-scrollbar-track {
background-color: hsla(0, 0%, 0%, 0.1);
border-radius: 100vw;
margin-block: 0.5rem;
margin-inline: 0.5rem;
}
::-webkit-scrollbar-thumb {
background-color: hsla(0, 0%, 0%, 0.2);
border-radius: 100vw;
}
::-webkit-scrollbar-thumb:hover {
background-color: hsla(0, 0%, 0%, 0.411);
}

0 comments on commit 88fe7dc

Please sign in to comment.