JSFiddle - React, Tailwind, and code Playground

by Amal Das

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"></script>


		<div class="custom-check">
			<input id="bold" type="checkbox"/>
			<label for="bold">B</label>
		</div>

CSS

.custom-check input[type='checkbox']:checked + label {
    font-weight: 800;
}





.custom-check input[type='checkbox'],.aga-in-check input[type='radio'] {height: 0;width: 0;opacity: 0;}