:user-valid and :user-invalid
Widely availableThe :user-valid
and :user-invalid
pseudo-classes match form controls that have been marked as valid or invalid based on their validation constraints.
Safari Browser
iOS
16.5
The :user-valid
and :user-invalid
pseudo-classes match form controls that have been marked as valid or invalid based on their validation constraints.