美文网首页
微信小程序取消button的边框

微信小程序取消button的边框

作者: 钱英俊真英俊 | 来源:发表于2018-06-22 09:41 被阅读0次

微信小程序的button组件可以自定义设置样式,比如backgroundcolor。但如果直接在button组件设置border: none; 则无法去除边框。边框依然存在。

需要在button:after内设置borde,才能改变button的border样式

相关文章

网友评论

      本文标题:微信小程序取消button的边框

      本文链接:https://www.haomeiwen.com/subject/daghyftx.html