JSFiddle - React, Tailwind, and code Playground

by Krishna Ananthi

HTML

<div class="error">
    <input type='checkbox'><label>Some label</label><br />
    </div>

CSS

.error input[type=checkbox] {
  border: 2px solid yellow;
  outline: 2px solid #c00;
}