required css input 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;
}