I am looking for a CSS selector for the following table:
Peter | male | 34 Susanne | female | 12
Is there any selector to match all
You'd have to add a data attribute to the rows called data-gender with a male or female value and use the attribute selector:
data-gender
male
female
HTML:
...
CSS:
td[data-gender="male"] { ... }