JSFiddle - React, Tailwind, and code Playground

by ChrisStanyon

HTML

<table class="table1">
  <tr class="row1">
    <td class="cell1">This will be green</td>
    <td>This won't be green</td>
  </tr>
</table>

<p class="table1 row1 cell1">This will be red</p>

CSS

.table1 .row1 .cell1 { color: green; }

.table1.row1.cell1 { color: red; }