User-Invalid and User-Valid: The Pseudo-Classes That Save the Day
Forms can be a pain to validate, especially the individual elements. CSS has pseudo-classes like :invalid and :valid, but they fire right away, without waiting for the user to finish interacting with the element. That's where the :user-invalid and :u...
2mindev.hashnode.dev2 min read