小程序中关于隐藏滚动条的方法

代码:
.course-list .list-wrap{ display: block; width: 678rpx; height: 353rpx; margin: 0 auto; margin-top: 91rpx; overflow: hidden; overflow-y: scroll; } ::-webkit-scrollbar { width: 0; height: 0; color: transparent; }主要是 -webkit-scrollbar该css样式起到了作用。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

