页面中键盘tab选中链接效果控制

页面中键盘tab链接高亮选中

页面中键盘tab选中链接,实质为a:focus及失去焦点this.blur()
以下样式可控制其表现:

a:focus {
    text-decoration: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline-style: none;
    outline: 0;
}

 720 total views,  4 views today

Revisions

Comments are closed.