Skip to content

Commit

Permalink
Scrollbar styled
Browse files Browse the repository at this point in the history
  • Loading branch information
zalabhavy committed Jun 8, 2024
1 parent 055fa8c commit dca48d8
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,39 @@ body {
background: #dcdcdc !important;
overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #f5f5f5;
border-radius: 10px;
}
::-webkit-scrollbar {
width: 10px;
background-color: #f5f5f5;
transition: width 0.3s;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #fff;
background-image: -webkit-gradient(
linear,
40% 0%,
75% 84%,
from(#0d6efd),
color-stop(0.4, #0d6efd),
color-stop(0.5, #1d7bfd),
color-stop(0.6, #3d8bfd),
to(#3d8bfd)
);
transition: background-color 0.3s, width 0.3s;
}
/* Hover effect */
::-webkit-scrollbar:hover {
width: 14px;
}
::-webkit-scrollbar-thumb:hover {
background-color: #0d6efd;
}
.navname_ac .bi-chevron-up {
display: none;
}
Expand Down

0 comments on commit dca48d8

Please sign in to comment.