Happier HTML5 form validation in Vue
It’s kind of neat that we can do input:invalid {}
in CSS to style an input when it’s in an invalid state. Yet, used exactly like that, the UX is pretty bad. Say you have <input type="text" required>
. That’s …