If you want to apply CSS Styles to Entity lists in Power Apps Portal website follow the Below Steps:

Step 1:Navigate Default studio “Web Template”.

Step 2:Paste the below code in your Web Template of the Web Page ,where you have placed the Entity List.

 

<style>
.entitylist
{
padding:30px;
border-radius:20px;
}
.view-gridtable {
font-family:Arial, Helvetica, sans-serif;
border-collapse:collapse;
width:100%;
}
.view-grid table td, table th {
border:1pxsolid#ddd;
padding:8px;
}
.view-grid table tr:nth-child(even){background-color: #f2f2f2;}
.view-grid table tr:hover {background-color: #ddd;}
.view-grid table th,.view-grid table th a {
padding-top:8px;
padding-bottom:8px;
text-align:left;
background-color:#7a2211;
color:white;
}
</style>

Now save and sync configuration and reload the Portal  page. You will see the List  like the below page.

 

 

Hope this helpful!

For any Help or Queries Contact us on info@crmonce.com or +918096556344.