After adding an href link to the a tag, a blue border appears on the pad. Using outline: none text-decoration: none; does not work. Please solve it
认证0级讲师
Add outline: none
outline: none
Can I view it without development tools when debugging? ? You can tell by looking at his style
a:active,a:hover { outline: none;}
It is probably added by the browser. The solution is as mentioned by the brother above.
Is the style set after hover
-webkit-tap-highlight-color:transparent
Add a label, a{outline: none}
It may be the default style of the browser. You can set it for the a tag in the reset style
Add
to the focus and active pseudo-classesoutline: none
Can I view it without development tools when debugging? ? You can tell by looking at his style
a:active,
a:hover {
outline: none;
}
It is probably added by the browser. The solution is as mentioned by the brother above.
Is the style set after hover
-webkit-tap-highlight-color:transparent
Add a label, a{outline: none}
It may be the default style of the browser. You can set it for the a tag in the reset style