Good. You did not pass any code, so I created this quick example. See if it solves your situation.
div {
width: 500px;
height: 100px;
overflow: scroll;
box-shadow: inset -30px -30px 30px 0px #000;
}
table {
width: 400px;
height: 100px;
}
<div>
<table>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
</table>
</div>
EDIT
With color and transparency:
div {
width: 500px;
height: 100px;
overflow: scroll;
box-shadow: inset -30px -30px 30px 0px #000;
}
table {
width: 400px;
height: 100px;
background: rgba(0, 151, 167, 0.5);
}
<div>
<table>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
<tr>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
<td>UIAHBUIABHAUIBAIUIABAUI</td>
</tr>
</table>
</div>