How to draw dotted lines from the selection in Firefox, Edge and IE [duplicate]

1

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

    
asked by anonymous 01.03.2018 / 12:58

1 answer

2

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

a:active, a:focus {
    outline: none;
}
    
01.03.2018 / 13:06