::-webkit-scrollbar {
width: 0.5vw;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgb(99, 99, 99);
border-radius: 10px;
}
I made this code for a scrollbar in css and the scrollbar works, but for some reason that I don’t know the scrollbar track isn’t transparent on chrome.
i get that :
no transparency track scrollbar
But i want this result (transparency) :
expected
2
Answers
Can you please try adding !important to the relevant place regarding changing only the background, as the code seems to be correctly structured like below it’s looks like your body background
and if you have the multible them You need to switch theme like