Nejc Jezersek Nejc Jezersek - 9 months ago 79
CSS Question

How to make scrollbar overlapping page content

I want to make scrollbar that overlaps the page. I wonder if there is a way to do it with pure CSS. I read an article about styling scrollbars with CSS ( but I didn't get a result I wanted. I think it would be possible to do it with some JavaScript and HTML element with fixed position, but I prefer to do it with CSS.


You can try changing the background of the Scrollbar to transparent-

::-webkit-scrollbar-track {background: transparent}