JSFiddle - React, Tailwind, and code Playground
by Curry
HTML
<input type="checkbox"><span></span>
CSS
input + span:before {
content:'Not Checked';
}
input:checked + span:before {
content:'Checked!';
}
by Curry
<input type="checkbox"><span></span>
input + span:before {
content:'Not Checked';
}
input:checked + span:before {
content:'Checked!';
}