Source code

Revision control

Copy as Markdown

Other Tools

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