JSFiddle - React, Tailwind, and code Playground

by Bhavik Bamania

HTML

<form>
    <div>
        <label><input type="checkbox" /> Label text</label>
    </div>
<form>

CSS

label {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
}
input {
    width: 13px;
    height: 13px;
    padding: 0;
    margin:0;
    vertical-align: middle;
    position: relative;
    top: -1px;
    *overflow: hidden;
}