Reputation: 1452
The gear button below launches a modal window. when the modal is closed. An outline, like the one you see in the screenshot, appears. How do I avoid this?
Tried this, but didn't work
.sticky-settings a:focus
{
border: none;
}
Upvotes: 1
Views: 76
Reputation: 24559
There is an outline
property set on your button by default (it's a default browser property).
Overriding this property in your css will solve this.
.sticky-settings a:focus
{
outline: none;
}
Upvotes: 1
Reputation: 22998
You need to set outline: none
not border: none
.
.sticky-settings a:focus {
outline: none;
}
Upvotes: 4