I did several searches, but couldn't find anything quite similar to this. I did find the same question for Excel, but mine is for HTML/CSS: Highlight cell if an adjacent cell in column has the same value (Excel question).
Essentially I have a sortable HTML table with a bunch of values that can frequently be 100% identical. For example, often the same GUID repeats in several rows. Once I sort the table they end up adjacent to each other, and I want to highlight them both for clarity at that time (only when they are adjacent).
Before I do this in Javascript, I was just wondering if there is a built-in feature in CSS to do this? So many strange things seem to be possible in CSS these days.
Here is a mock up of what I want to do: