JSFiddle - React, Tailwind, and code Playground by sperske July 26, 2021 HTML <input pattern="test"/> CSS input:invalid { border: red solid 3px; }