去除小程序button默认样式

button的边框样式是通过::after方式实现的,所以我们可以使用::after的方式去改掉默认值。

button::after {
  border: none;
}

如果要修改颜色

button {
  background-color: #fff;
}

猜你喜欢

转载自blog.csdn.net/smlljet/article/details/89886797