JSFiddle - React, Tailwind, and code Playground
HTML
<script src="//code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link rel="stylesheet" href="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!--
Bootstrap docs: https://getbootstrap.com/docs
-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<div class="container">
<table class="table table-sm">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Custom</th>
<th scope="col">Default</th>
</tr>
</thead>
<tbody>
<tr class="bg-primary">
<td>Mark</td>
<td><div class=" custom-checkbox ">
<input type="checkbox" class="custom-control-input" id="customCheck" >
<label class="custom-control-label" for="customCheck">Custom checkbox</label>
</div></td>
<td>
<input type="checkbox" class="size" id="customCheck1">
<label>Default checkbox</label>
</td>
</tr>
<tr>
<td>Jacob</td>
<td><div class=" custom-checkbox ">
<input type="checkbox" class="custom-control-input" id="customCheck2">
<label class="custom-control-label" for="customCheck2">Custom checkbox</label>
</div></td>
<td>
<input type="checkbox" class="size" id="customCheck3">
<label>Default checkbox</label>
</td> </tr>
<tr class="bg-primary">
<td>Larry</td>
<td><div class=" custom-checkbox ">
<input type="checkbox"...
CSS
.row {
background: #f8f9fa;
margin-top: 20px;
}
.col {
border: solid 1px #6c757d;
padding: 10px;
}
.size {
-webkit-transform: scale(1.2);
}