:valid
Term side of the Card
Topic: Pseudo Classes
Unit title: :valid
Categories: Pseudo-class
Explanation side of the Card
Explanation: The pseudo-class that applies styles to form elements that contain valid input. It targets fields that meet the requirements set by their type, pattern or other validation constraints, allowing for visual feedback when input is correct.
Browser compatibility:
- The chrome browser supports this feature starting from version 10
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 4
- The safari browser supports this feature starting from version 5
Availability: