JSFiddle - React, Tailwind, and code Playground

by sperske

HTML

<input pattern="test"/>

CSS

input:invalid {
  border: red solid 3px;
}