分享 做小程序时,给文章底部添加分享、收藏等功能,分享用的官方自带方法(onShareAppMessage),必须使用button标签,并添加open-type="share",我给button直接添加 border:none; 没反应,后来使用伪元素才去" />

小言_互联网的博客

小程序中button的边框无法去除 button边框如何去除

388人阅读  评论(0)

 

<button class="operation-list" type="button" open-type="share">分享</button>

做小程序时,给文章底部添加分享、收藏等功能,分享用的官方自带方法(onShareAppMessage),必须使用button标签,并添加open-type="share",我给button直接添加 border:none; 没反应,后来使用伪元素才去除了边框,如下

 


  
  1. .operation-list ::after{
  2. border: none;
  3. }

【推荐】前端软件下载 http://iqzhan.com/category-23.html

原文地址 http://sharedblog.cn/post/208.html

前端博客 http://sharedblog.cn


转载:https://blog.csdn.net/tianpeng1996/article/details/110535473
查看评论
* 以上用户言论只代表其个人观点,不代表本网站的观点或立场