-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox: dotted outline around focused inputs #51
Comments
Adding { outline: medium none; } will work. |
Please consider leaving the outline as it is. This is an important feature for users without a pointing device, such as a mouse or tap interface. If you want to remove it, at least provide alternative styling. For more information: |
The border-color is already changed to indicate focus, so I'd say it's fine to remove the outline: Line 24 in d1c1567
|
Also I guess it's specific to Firefox |
I've tried various |
Found the cause of this outline in normalize.css: /**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
input:-moz-focusring {
outline: 1px dotted ButtonText;
} The issue was fixed in necolas/normalize.css@b1f3b0c, which is released in v4.1.0. @picturepan2 care to bump normalize.css to the latest version to resolve this? |
By far, it's the newest version (https://github.com/necolas/normalize.css/tree/4.1.1). This also fix issue with dotted outline in focused inputs in Firefox (picturepan2#51). Kudos to @silverwind for debug and pointing out a solution.
I fixed it in ffe5499. Thanks. |
These may be not intended:
The text was updated successfully, but these errors were encountered: