-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
outline-none doesn't work on button with focus in chrome #1231
Copy link
Copy link
Closed
Description
Hi,
First of all, a big thank's for your work on Tailwindcss, it make coding css so cool again !
Maybe it's not a bug and you thought about this already, but it seems strange that outline-none doesn't set outline-none on focus too, on button element.
I noticed that only on Chrome and only on buttons. If I want to remove outline on focus, I need to do :
<button class="outline-none focus:outline-none">click-me</button>
If not I see a big blue outline when the button is in Focus state.
It seems that's its coming from normalize.css with :
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
If I add outline: none; manually it's working too.
Is that a normal behaviour ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels