Source code

Revision control

Copy as Markdown

Other Tools

/* Override default style */
input:invalid {
box-shadow: none;
}
input.notvalid {
background-color: green;
}
input.notvalid:-moz-ui-valid {
background-color: red;
}
input.valid {
background-color: red;
}
input.valid:-moz-ui-valid {
background-color: green;
}