I just played around with this CodePen, and it seems that if you set transparent background-color for all three properties below (and also remove box-shadow s in this example), the scrollbar will not be visible at all:
#style-1::-webkit-scrollbar-track { // -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1); background-color: transparent; } #style-1::-webkit-scrollbar { background-color: transparent; } #style-1::-webkit-scrollbar-thumb { // -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: transparent; }
This has been tested on Chrome Desktop, Chrome for Android, and iOS Safari (v8.4) on iPhone 6+.
However, I would recommend, for the convenience of the user (usability / accessibility), to keep the scroll bar visible, although even I, knowing what I was doing, got a little confused when the scroll bar was missing.
source share