去掉a标签点击后的虚边框

a {
    cursor: pointer;
    text-decoration: none;
    hide-focus: expression(this.hideFocus=true);
    outline: none;
}

    a:link, a:visited, a:hover, a:active {
        text-decoration: none;
    }

    a:focus {
        outline: 0;
    }

注意:有时候看不出效果检查一下CSS的引用顺序,确定CSS是不是生效了。

原文地址:https://www.cnblogs.com/weiweithe/p/4468635.html