隐藏IE、谷歌、火狐浏览器滚动条
文章目录
html,
body,
#app {
-ms-overflow-style: none;//IE浏览器
scrollbar-width:none;//火狐
}
//谷歌第一种
::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
//谷歌第二种
::-webkit-scrollbar {
display:none;
}
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论