首页 > 微信 > 详细

微信小程序按钮去除边框

时间:2018-09-30 00:16:37      阅读:304      评论:0      收藏:0      [点我收藏+]

wxml:

<button class=‘share‘ id=‘{{item.id}}‘ open-type="share">
<image src=‘/img/fx.png‘ class=‘img_1‘></image>
</button>
 
 
 
wxss:
 
 

/* 按钮 */
.share{
width: 100rpx;
height:50rpx;
background: #fff;
position:relative;
margin-top: -10rpx;
}

/* 按钮去边框 */
button::after{
border: none;
}
 
 
 

微信小程序按钮去除边框

原文:https://www.cnblogs.com/junlian/p/9727215.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!