清除小程序button默认样式

html

1
2
3
4
<button class="user_module clearBtncss">
<text class="userIamge t-icon"></text>
<text class="userText">确认</text>
</button>

css

1
2
3
4
5
6
7
8
9
10
.clearBtncss{
margin:0;
padding: 0;
line-height: 1;
background-color: #FFFFFF;
}
.clearBtncss::after{
position: unset !important;
border: unset;
}