is possible to apply some css based on other elements data attributes? For example we have four elements:
<span class="aaa" data-value="aaa">one</span>
<span class="bbb" data-value="bbb">
display only if the third element has data value</span>
<span class="ccc" data-value="">three</span>
<span class="ddd" data-value="ddd">four</span>
and I want to display the second span only if the third span data-value attribute has some value.
I'm trying to do this using css not JS !