码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-04-30 14:05:43      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:

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是不是生效了。

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

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!