79538851

Date: 2025-03-27 12:32:01
Score: 0.5
Natty:
Report link

All major browser have support for the :user-invalid pseudo class since 2023.

It sounds exactly like what you are looking for:

The :user-invalid CSS pseudo-class represents any validated form element whose value isn't valid based on their validation constraints, after the user has interacted with it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jonas Schade