samedi 11 avril 2020

How to give alternating table rows specific background colors using php laravel

<table class="table table-bordered table-striped">
    <thead>
        <tr>
            <th>Tmp</th>
        </tr>
     </thead>
       <tbody>
        @foreach($data as $row)
                    <tr>
                        <td></td>
                    </tr>
        @endforeach
    </tbody>
</table>

Above Example, if the temp value greater than 40, what is the easiest and best way give a specific color for Temp



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire