隐藏滚动条,页面依然可以滚动
<style> ::-webkit-scrollbar { display: none /* 隐藏滚动条,但依旧具备可以滚动的功能 */ } </style>
隐藏滚动条,但不能滚动
overflow:hidden