<style scoped>
.content {
overflow-y: auto;
}
</style>
<style>
.content::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
</style>
CSS隐藏滚动条并且还能让滚动条滑动
最新推荐文章于 2023-08-31 16:40:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
<style scoped>
.content {
overflow-y: auto;
}
</style>
<style>
.content::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
</style>