zachleat@zachleat.com’s Mastodon Archive

♻️ Reblog of Stefan Judis (stefan@front-end.social)

Another tiny thing coming to the web: :user-invalid.💪

It used to be a FF-only thing but made it into Webkit in Dec.

You can style and show the validation state of form elements only after someone interacted with them with :user-invalid/:user-valid. 🥰

Here's the chrome bug if you wanna star it: bugs.chromium.org/p/chromium/i