Hi,
I have a textarea. When the textarea becomes focus-visible it adds not only the blur border (Which is ok), but also some kind of blur shadow which I need to remove. I tried
>textarea:focus-visible {
box-shadow: 0 0;
}
but no changes.
So what the hell is this light purple line under the textarea?
try…
textarea:focus {
border: 0;
outline: 0;
}
1 Like
Hi,
this removes the border focus completely but I have now added it with
textarea:focus {
border: 2px solid var(--focus-color);
outline: 0;
}
Thanks
snadyleiby:
outline: 0;
You should never use this as it makes the page inaccessible. See here .
1 Like
As I set a focus border by myself this is not an issue.
1 Like
Of course, you are absolutely correct and I really should
have pointed this out in my reply by adding this warning…
The plague of outline:0
1 Like
system
Closed
September 15, 2023, 6:16am
7
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.