I'm trying to hide scrollbars of an html element by means of the CSS rule:
.element::-webkit-scrollbar {width: 0;}
It works fine in Chrome, but doesn't work in Safari, although is't also webkit-based and should support this rule.
Any ideas, why should it happen and how to fix?