关于按钮样式,想要去掉烦人的边框,但是无论如何给button改样式也去不掉button的边框。因为改错地方了。
1.字节小程序 button边框线
边框线是在其伪元素身上添加的
// 去掉烦人的边框
button::after{
border: 0; // 或者 border: none;
}
// 调整禁用时的样式
button[disabled] {
background-color: #fff;
color: #eee;
}
// 修改点击时的样式
.button-hover {
color:#F85959;
background-color:#fff;
}
2.快手小程序 button边框线
button{
box-shadow: none;
}