The: Invalid CSS Pseudo-Class
/* Selects any invalid <input> */
input:invalid {
background-color: pink;
}
Blushing Bat
/* Selects any invalid <input> */
input:invalid {
background-color: pink;
}