Hessel
Hessel

Reputation: 97

Blue border around text link cant get away on iOS device

I'm facing a problem on my iOS device. When opening the menu with popup, a blue border is around the text element. But its not a href hyperlink underline.

enter image description here

I tried following css code:

select:focus,
textarea:focus,
button:focus {
    outline: none;
}

It dit nothing so I tried to disable the input outline for all

input {
 outline:none;
}

Unfortunaly it gives me no results. Please advise on how I can fix this problem.

Upvotes: 0

Views: 1209

Answers (1)

tgilino
tgilino

Reputation: 29

As mentioned in the comment above, more information/code would be helpful, however I have seen a similar issue recently and if the menu items are html links, try setting the outline to 0 on the < a > tag

a {
  outline: 0;
}

This appears to be the current iOS version of the old dotted outline on html links

Upvotes: 1

Related Questions