A
A
Alexander Alexandrovich2014-04-07 17:09:50
Mozilla
Alexander Alexandrovich, 2014-04-07 17:09:50

How to remove the stroke effect from a link?

Can you please tell me how to remove the stroke from the link when clicked?
9220014b6c964f99a3f31eaca333ef26.png

Answer the question

In order to leave comments, you need to log in

6 answer(s)
Y
Yuri Lobanov, 2014-04-07
@tatu

Dear @hadra , don't fuck with me! The question is standard and always solved a { outline: none;}
. This is what irritates layout designers and users and this is how they fight. The fact that the author indicated when clicking only says that the author sees this stroke only when clicked. Where did you see the stroke in another case? It must be registered separately, and if this is done, then the author will guess how to cancel it for the pressed button.
Now the actual information for @tatu - if it doesn't work - we work as follows. We writea { outline: none!important;}, if it helps - you can leave it like that, but it's a crutch. It is necessary to find styles where otherwise attributed, armed with a code inspector or firebug, and achieve the desired result without using important. If it does not help, then somewhere in the styles it is already written with important - all the more so - the code inspector and look for which style overlaps your rule.

H
hadra, 2014-04-07
@hadra

a:active{
border:0;
outline: none;
}

I'm waiting for a thank you)

V
Vitaly Kirenkov, 2014-04-07
@DeLaVega

a { outline: none;}

T
Talyutin, 2014-04-07
@Talyutin

outline-style: none;

K
Konstantin Velichko, 2014-04-07
@Zoxon

* { outline: none;}

A
Alexander Reshetnyak, 2017-10-15
@Vampireos

a:focus, a:active{outline: none}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question