change scroll color div code example
Example 1: change scrollbar color
.scrollable-element {
scrollbar-color: red yellow; /* red is for the thumb and yellow is for the track */
}
Example 2: scrollbar with 2 different colors on same page css
::-webkit-scrollbar-track {
background-color: #333;
}
/* Override styles for <div>s, for example */
div::-webkit-scrollbar-track {
background-color: #b13131;
}