小程序 去掉button的灰色的边框
2019-03-23 本文已影响0人
一个冬季
未去掉前
未去掉前.jpg去掉后
去掉后.jpg代码
<view class="footer">
<view class="toLead">
<form name='pushMsgFm' report-submit bindsubmit='agree' class='fromdiv'>
<button form-type="submit" class='btn'>同意</button>
</form>
</view>
<view class="toLead" >
<form name='pushMsgFm' report-submit bindsubmit='disagree' class='fromdiv'>
<button form-type="submit" class='btn'>不同意</button>
</form>
</view>
</view>
button[class="btn"]::after {
background: transparent;
background-color: transparent;
margin: 0;
padding: 0;
border: 0;
outline: none;
}
.btn{
background: white;
}