JSFiddle - React, Tailwind, and code Playground
by Adelmo Donis
HTML
<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<!--
Bootstrap docs: https://getbootstrap.com/docs
-->
<div class="container">
<div class="row">
<div class="col">
1 of 2
<div class="table-responsive">
<table class="table">
<thead class="verde">
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col" class="blanco">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="col">
2 of 2
<div>
otro contendor
</div>
<div>
otro contendor, otro contendor, otro contendor, otro contendor, otro contendor, otro contendor, otro contendor, otro contendor, otro contendor
</div>
</div>
</div>
<div class="row">
<div class="col-10">
1 of 2
<div class="table-responsive">
<table class="table">
<thead class="verde">
<tr>
<th scope="col">#</th>
<th...
CSS
.row {
background: red;
margin-top: 20px;
}
.col {
border: solid 1px #6c757d;
padding: 10px;
}
.verde {
background-color:green;
}
.blanco {
background-color:white;
}