CSS Username Input with Focus Ring

One native text input with a strong focus ring. No JavaScript: the error line uses the browser's own validation.

3–20 letters, numbers, hyphens or underscores. Use 3–20 characters: letters, numbers, - or _ only.

Static demo note: the error text appears from native browser validation after you type an invalid value and leave the field. Nothing is sent anywhere.