How to draw dotted lines from selection in Firefox, Edge and IE

Asked

Viewed 142 times

1

inserir a descrição da imagem aqui

How do I get these dotted lines out of the menu when the link is selected? I’ve tried using the outline:none, but works only in Chrome, already in Firefox, Edge and IE does not change anything.

  • Before you think about doing this, read a little about Web Accessibility, you can start with this article http://www.outlinenone.com/

1 answer

2


Try to put the selector :active and :focus on your link.

a:active, a:focus {
    outline: none;
}
  • Thank you very much colleague, 100% solved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.