Form Validation That Doesn't Annoy Users: CSS :user-valid and :user-invalid

from blog Trevor I. Lasn Thoughts, | ↗ original
↗ original
The new pseudo-classes :user-valid and :user-invalid give us a smarter way to style form validation states based on user interaction