I'm struggling to modify the color of the scrollbar in Bootstrap scrollspy despite having a functional scrollbar. Here is an example of my code:
HTML:
<body>
<div class="container, scrollbar" id="myScrollspy">
<div class="panel-group" id="accordion">
...
CSS:
.scrollbar::-webkit-scrollbar-track
{
border-radius: 10px;
background-color: #F5F5F5;
}
.scrollbar::-webkit-scrollbar
{
width: 12px;
background-color: #F5F5F5;
}
.scrollbar::-webkit-scrollbar-thumb
{
border-radius: 10px;
background-color: #D62929;
}
Despite these CSS modifications, the color of the bar doesn't change. Could it be due to how bootstrap styles handle scrollbars differently?