html - Transparent scrollbar with css -
Now use this code (and many variations of it), but the scroll track gets a darker color, some # Find 222222 or many examples near it, but all of them give the same results. Opera, Chrome and Firefox show this bug. How to fix
# style-3 :: - WebKit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba (0,0,0,0.3); Background color: transparent; } # Style-3 :: - WebKit-scrollbar {width: 6px; Background color: transparent; } # Style-3 :: webkit-scrollbar-thumb {background color: # 000000; }
It is not possible to make it transparent with pure CSS. You must use a transparent background image like this:
:: - WebKit-scrollbar-track-piece: start {background: transparent url ('images / backgrounds / scrollbar.png') Repeat - why! Important; } :: WebKit-scrollbar-track-piece: end {background: transparent url ('picture / background / scrollbar page') repeat-wi! Important; }
Comments
Post a Comment