Answer the question
In order to leave comments, you need to log in
How to remove default browser borders for invalid form?
It is necessary to remove the borders prescribed in the browser itself with an invalid form. Tried pseudo class invalid doesn't work. Moreover, different browsers have different boundaries. In chrome there is a yellow filled border, and in mozzilla there is just a red border
Answer the question
In order to leave comments, you need to log in
Here's what they say on the Mozilla documentation site
:invalid {
box-shadow: none;
}
:-moz-submit-invalid {
box-shadow: none;
}
:-moz-ui-invalid {
box-shadow:none;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question