删除小程序scroll-view的滚动条
小程序scroll-view滚动条很丑,想隐藏?
在有scroll-view滚动条页面的wxss里添加:
::-webkit-scrollbar { display: none; width: 0; height: 0; color: transparent; }
不用选择器,以及不要在app.wxss直接添加。
欢迎体验由我个人开发的高颜值云开发工具小程序
小程序scroll-view滚动条很丑,想隐藏?
在有scroll-view滚动条页面的wxss里添加:
::-webkit-scrollbar { display: none; width: 0; height: 0; color: transparent; }
不用选择器,以及不要在app.wxss直接添加。