去掉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是不是生效了。
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是不是生效了。
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步