<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="custom-table-wrapper">
<table class="custom-table">
<tr>
<th colspan=3>EST. GDP (2010)</th>
</tr>
<tr>
<td rowspan=8 id="backgroundCell"></td>
<td class="line"><hr></td>
<td class="data"> $0</td>
</tr>
<tr>
<td class="line"><hr></td>
<td class="data"> $2,000,000</td>
</tr>
<tr>
<td class="line"><hr></td>
<td class="data"> $4,000,000</td>
</tr>
<tr>
<td class="line"><hr></td>
<td class="data"> $6,000,000</td>
</tr>
<tr>
<td class="line"><hr></td>
<td class="data"> $8,000,000</td>
</tr>
<tr>
<td class="line"><hr></td>
<td class="data"> $10,000,000</td>
</tr>
<tr>
<td class="line"><hr></td>
<td class="data"> $12,000,000</td>
</tr>
<tr>
<td class="line"><hr></td>
<td class="data"> $14,000,000</td>
</tr>
</table>
</div>
body{
background: red;
padding: 50px;
}
#backgroundCell{
background-image: linear-gradient(to top, #0d2062, #003d7d, #005993, #0075a5, #0091b3, #2fa5b8, #53b8bc, #76cbc0, #98d9bf, #bbe6c1, #ddf2c8, #fdfed4);
padding: 0;
width: 30px;
}
.custom-table-wrapper{
background-color: #FCFCFC;
border-radius: 10px;
width: 190px;
padding: 20px;
}
.custom-table th{
padding-bottom:20px;
text-align: center;
font-size: 1.2em;
}
.custom-table .line{
width: 10px;
padding: 0;
}
.custom-table td{
width: 40px;
padding: 10px;
font-weight: bold;
}
.custom-table .data{
text-align: right;
}