Skip to content

Commit

Permalink
add better looking scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriyChestnyh committed Oct 22, 2024
1 parent 76a11be commit 1399a08
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions css/header_footer.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
::-webkit-scrollbar {
width: 8px;
}

::-webkit-scrollbar-track {
background-color: black !important;
}

/* Ползунок (scroll thumb) */
::-webkit-scrollbar-thumb {
background-color: rgba(136, 136, 136);
border-radius: 12px;
}

/* Ползунок при наведении */
::-webkit-scrollbar-thumb:hover {
background-color: rgb(114, 114, 114) /* Более темный при наведении */
}
html, body{
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 1399a08

Please sign in to comment.