Skip to content
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

Outlines should only be modified using :focus? #623

Open
beautifulcoder opened this issue Nov 28, 2015 · 0 comments
Open

Outlines should only be modified using :focus? #623

beautifulcoder opened this issue Nov 28, 2015 · 0 comments

Comments

@beautifulcoder
Copy link

I have this CSS:

input[type=text]:invalid, input[type=password]:invalid, textarea:invalid {
    outline: none;
    box-shadow: none;
}

Unfortunately, in IE I have to set the outline to none and in Firefox I have to set the box-shadow to none. This is a result of adding the required attribute to the input tags. In both browsers you get annoying outlines by default. Is this something we've thought about before? It seems :invalid should also get considered as a :focus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant