button设置border以后在4个角能看到button的内轮廓
发布于 5 年前 作者 xyu 12766 次浏览 来自 问答

不知道是不是描述清楚了,button的样式是这样的

.button {

 width: 100%;

 color: #3bae71;

 border: 1px solid #3bae71;

 margin: 10rpx;

}

看起来效果是这样的,怎么解决?

2 回复

button:after {

content: none;}

button::after {

  border: 0 none;

}

回到顶部