如何在webkit浏览器中隐藏滚动条?

时间:2012-06-22 09:55:14

标签: css webkit scrollbar custom-scrolling

http://jsfiddle.net/mWpLC/

请检查链接。 当您在文本上按鼠标时,然后将光标向右拖动 - 出现浏览器滚动。

如何解决这个问题对于webkit浏览器?文字必须是可滚动的。

1 个答案:

答案 0 :(得分:0)

删除此溢出-y:滚动;

.custom-scroll__scroll-area {
    height: 100%;
    overflow-y: scroll; /*Remove This Line*/
    position: relative;
    right: -16px;
}
相关问题