It is to hide, and not even remove how does overflow: hidden do it? Those. I need the scrolling itself to be available, since ( only ) the slider is suspended on the "scroll wheel of the mouse" event.

It can somehow make it 0x0 size, but not hidden , it kills the slider.

  • Are the slider sizes fixed? - Sh4dow
  • rubber, but what does it matter? - Smash
  • If asked, it means it has) It would be possible to wrap it with a smaller diva with overflow: hidden; , then the scroll bar would be out of sight. And so you probably only remove the strip at all and catch mouseWheelUp / Down. - Sh4dow
  • mouseWheelUp / Down is caught as it is, the paradox is that it only works on the phone when this .., pardon, this scrollbar is visible, but it looks ugly to STE, you can still survive the usual computer, in the sense that you can hide it 'om, but on the phone "Zys .." - Smash

2 answers 2

Dug on the Internet - found such a script ( example ). The idea is very interesting. Maybe even leave "as is". If it is important to remove, then correct the code to fit your needs.

  • there is a scrollbar done with a div, I think above my comments will read and understand what's the matter. - Smash

The easiest way here is:

 ::-webkit-scrollbar { width: 0px; background: rgba(255, 255, 255, 0.0); }