如何在不使用 overflow:hidden 的情况下隐藏 css 中溢出的 div 的滚动条?

How can I hide scrollbar of an overflowing div in css without using overflow:hidden?

我有一个 div 和 overflow:scroll ,水平滚动。 如何在 css 中隐藏 div 的滚动条?

使用 webkit。

.hiddenscrollbars::-webkit-scrollbar { 
    display: none; 
}

JSFiddle

看看这个

<div class="scroll">You can use the overflow property when you want to have better control of the layout. The default value is visible.</div>

div.scroll {
    background-color: #00FFFF;
    width: 200px;
    height: 100px;
    overflow: scroll;
}

http://jsfiddle.net/vasanthanvas/zdwf0a0q/