Answer the question
In order to leave comments, you need to log in
How to remove the stroke effect from a link?
Can you please tell me how to remove the stroke from the link when clicked?
Answer the question
In order to leave comments, you need to log in
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question