[英]Hide scrollbar in Firefox and Edge
Is there any Javascript/Jquery plugins, or css tricks are available to hide scrollbar in Firefox / Edge (Native scrollbar) ?是否有任何 Javascript/Jquery 插件或 css 技巧可用于隐藏 Firefox/Edge(本机滚动条)中的滚动条? ie, i have to scroll the area but, the scrollbar should not be visible.
即,我必须滚动该区域,但是滚动条不应该可见。
<style>
//Chrome, Safari, Opera
body ::-webkit-scrollbar { width: 0 !important }
//Firefox
body { overflow: -moz-scrollbars-none; }
//Internet Explorer, Edge
body { -ms-overflow-style: none; }
</style>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.