Is there a way to only target the direct text within a <h1>
-Tag?
Here is an example on what I want to do:
<h1>I want to select this text with a css selector <small>but not this text</small></h1>
This does not seem to work:
h1:not(small)
Is it even possible?
`.
– tao Nov 27 '17 at 17:07