javascript - Add an href to a tag and a blue border appears. Solution
PHP中文网
PHP中文网 2017-06-05 11:08:11
0
8
952


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

PHP中文网
PHP中文网

认证0级讲师

reply all(8)
为情所困

Add outline: none

to the focus and active pseudo-classes
伊谢尔伦

Can I view it without development tools when debugging? ? You can tell by looking at his style

Ty80

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!