Hey there, I have a quick question - how can I make the slider thumb for an input type "range" appear when hovering over the slider bar? I've tried some code but it doesn't seem to be working properly.
The ID of the slider bar is 'progressbar'.
input[type="range"]{
-webkit-appearance: none;
-moz-apperance: none;
border-radius: 26px;
height: 3px;
width: 170px;
background-color: rgb(74,123,197);
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
background-color: #fff;
width: 15px;
height: 15px;
border-radius: 50%;
visibility: visible;
}
#progressbar:hover input[type="range"]::-webkit-slider-thumb {
visibility: visible;
}
Thank you in advance for any help!