Skip to content

Commit

Permalink
scroll bar for webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital-Vuillaume committed Oct 13, 2024
1 parent 2ef07a6 commit 54a8123
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,20 @@ img {
display: flex;
justify-content: center;
align-items: center;
}

::-webkit-scrollbar {
width: 0.5vw;
background-color: var(--primary-color);
}

::-webkit-scrollbar-thumb {
background-color: var(--secondary-color);
border-radius: 6vh;
height: 16.5vh;
border: solid 1px var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
background-color: #555;
}

0 comments on commit 54a8123

Please sign in to comment.