CSS to highlight “nested” rows using th and varied rowspan attributes using the :has selector
I have been playing around with the :has
selector to see if I am able to create a pure-css solution for highlighting rows in “tree” views using HTML table. I’ve seen solutions using <tbody>
, but that will only work for a single level of “nesting.” How do we handle multiple <th>
elements in the same row, and across rows that have varying rowspan
values?