关于小程序去除button默认样式

/* 去除button默认样式 */

button::after {

border: none;

}

button {

background-color: transparent;

padding-left: 0;

padding-right: 0;

line-height:inherit;

}

button {

border-radius:0;

}

 

原文链接:https://blog.csdn.net/leng0920/article/details/88682968

总结:这个方法并不太完美,姑且一试

还是用view吧

以上

/* 去除button默认样式 */
button::after {
border: none;
}
button {
background-color: transparent;
padding-left: 0;
padding-right: 0;
line-height:inherit;
}
button {
border-radius:0;
}

————————————————版权声明:本文为CSDN博主「人间至味是清欢」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/leng0920/article/details/88682968

猜你喜欢

转载自www.cnblogs.com/hjk1124/p/12191907.html