tr.added { background-color: green; } tr.removed { background-color: orange; } tr.changed { background-color: red; }