Not sure if this is possible in css , but what I wanted to do was
Say you have an html structure as shown below: -
<h4>Title <span class="specific"> text </span> </h4> <div> <p> This is some text. </p> </div>
Now I want to stylize div p elements, but I want to use h4 span.specific as a relation for div p element.
Using brackets, it might look like this. (h4 span.specific) ~ (div p)
I just wanted to know if this could only be done with CSS.
source share