Skip to content

Commit

Permalink
Merge pull request #96 from dhruv389/custom-scrollbar
Browse files Browse the repository at this point in the history
Fixed Custom scrollbar  #79
  • Loading branch information
Satyam1923 authored May 13, 2024
2 parents fad3524 + 65f504c commit 1a3e8c2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,44 @@
}


/* Firefox (uncomment to work in Firefox, although other properties will not work!) */
/** {
scrollbar-width: thin;
scrollbar-color: #1D1E75 #B8C0C2;
}*/

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
height: 10px;
width: 10px;
}
*::-webkit-scrollbar-track {
border-radius: 5px;
background-color: #B8C0C2;
}

*::-webkit-scrollbar-track:hover {
background-color: #B8C0C2;
}

*::-webkit-scrollbar-track:active {
background-color: #B8C0C2;
}

*::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #1D1E75;
border: 2px solid #0B3A86;
}

*::-webkit-scrollbar-thumb:hover {
background-color: #1916A3;
}

*::-webkit-scrollbar-thumb:active {
background-color: #1B2AA3;
}

body {
display: flex;
justify-content: center;
Expand Down

0 comments on commit 1a3e8c2

Please sign in to comment.