<input type="email" value="w3tr"/>
input:invalid { background: blue; color:red; }
This Pen is owned by W3TR on CodePen.
See more by @w3tr on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.