css required="required" code example
Example: required field css
/* style all elements with a required attribute */
:required {
background: red;
}
/* style all elements with a required attribute */
:required {
background: red;
}