button设置border以后在4个角能看到button的内轮廓

发布于 7 年前作者 xyu12919 次浏览最后编辑 7 年前来自 ask

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

.button {

 width: 100%;

 color: #3bae71;

 border: 1px solid #3bae71;

 margin: 10rpx;

}

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

WXOPEN Club 内容图片
2 回复
xiexiulan
xiexiulan1 楼6 年前

button:after {

content: none;}

gdeng
gdeng2 楼5 年前

button::after {

  border: 0 none;

}