Good. You didn’t 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 colour 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>
That’s what I had done. However, if the table has background, shadows do not appear.
– Marlon
@Marlonluís I get it. But what kind of background are you using? Color or image? Could add a transparency to the fund that would look cool, depending on your case?
– Leon Freire
The table has a color background, but cannot be transparent. Anyway, we agree that we will leave it the way it is for another reason, but if someone wants to solve the problem, it will help someone else. Thank you!
– Marlon
@Marlonluís Okay Marlon! Good luck there!
– Leon Freire
@Marlonluís I left an example with transparency, in case I help you with anything.
– Leon Freire