JSFiddle - React, Tailwind, and code Playground

HTML

<input type=checkbox><br>
<label><input type=checkbox>Checkbox</label>

CSS

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 30px;
    height: 30px;
    border: 2px blue solid;
}
input:focus {
    outline: dotted 4px blue;
}
input:active {
    outline: dotted 4px red;
}
input:active:focus {
    border: 2px red solid;
    outline: dotted 4px green;    
}

label {
    display: block;
    border: solid 1px #888;
    font-size: 20px;
}
label:focus {
    color: red;
}
label:active {
    color: green;
}