版权声明:本文为博主原创文章,未经博主允许不得转载,达叔小生:往后余生,唯独有你 https://blog.csdn.net/qq_36232611/article/details/90150920
// 添加伪类
<style>
::-webkit-scrollbar {display:none}
</style>
<div style=" width:200px; height: 200px; overflow-y: scroll;">
</div>
// 添加伪类
<style>
::-webkit-scrollbar {display:none}
</style>
<div style=" width:200px; height: 200px; overflow-y: scroll;">
</div>