Skip to content

Commit

Permalink
Added Hover effects on scrollbar thumb
Browse files Browse the repository at this point in the history
  • Loading branch information
zalabhavy committed Jun 26, 2024
1 parent 270ce7a commit 6a126cb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion new-website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
background: linear-gradient(rgb(104, 74, 126),rgb(102, 7, 236));
border-radius: 10px;
height:1px;
transition: background-color 0.3s ease;
}

/* Hover on thumb */
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(rgb(152, 110, 169, 0.8), rgb(148, 42, 204, 0.8));
cursor: pointer;
}
*,
::before,
Expand All @@ -35,7 +42,10 @@
border-color: #e5e7eb;
/* 2 */
}

::-webkit-scrollbar-thumb:hover {
color: black;
cursor: pointer;
}
::before,
::after {
--tw-content: '';
Expand Down

0 comments on commit 6a126cb

Please sign in to comment.