a链接点击出现虚线边框只需要在CSS加入下列样式,即可消除:
a{
-webkit-tap-highlight-color:transparent;
outline:none;
blr:expression(this.onFocus = this.blur());
}
a:focus{
outline:none;
}
本文介绍了一种通过CSS代码消除网页中链接点击时产生的虚线边框的方法。只需简单地将提供的CSS代码添加到样式表中,即可实现这一效果。
a链接点击出现虚线边框只需要在CSS加入下列样式,即可消除:
a{
-webkit-tap-highlight-color:transparent;
outline:none;
blr:expression(this.onFocus = this.blur());
}
a:focus{
outline:none;
}
被折叠的 条评论
为什么被折叠?