Can CSS be used to target elements based on the value of another attribute? For instance:
<div data-attr1="abc" data-attr2="def"></div>
<div data-attr1="abc" data-attr2="abc"></div>
I am looking for something like this (although it doesn't work):
div[data-attr1=data-attr2]
This would ideally select the second DIV, but not the first.