Требуется полевые CSS
/* style all elements with a required attribute */
:required {
background: red;
}
Uptight Unicorn
/* style all elements with a required attribute */
:required {
background: red;
}