Setting Scroll Bar Thumb width using CSS

Sometimes, there might be situation arrises where we have to setup or adjust the scroll bar thumb width for making it user friendly.

But we cannot directly change the width of this by using css infact we can adjust the border width so that this makes an illusion that the width is very small.

Here we set the border with  border: 3px solid transparent; and this makes the thumb to reduce the width.

Adjust the border size as our requirement.

Leave a comment

Your email address will not be published. Required fields are marked *