I'm trying to style the track of the scroll bar. Whenever I style the track:
div::-webkit-scrollbar-track {
background-color: blue;
}
Nothing changes.
Whenever I style the scrollbar:
div::-webkit-scrollbar {
background-color: blue;
}
The entire scroll bar is blue, no visible thumb
What am I missing here?
Edit:
I'm working in Chrome. What's odd is that the scroll bars in all my overflow containers just started showing up. Before they were invisible and the scroll thumb would only appear when hover or scrolling (can't remember which, but it definitely wasn't always there). Firefox seems to be giving the desired behavior.
Did something change with Chrome scrollbars lately?