Is it possible to address specific text within an element with CSS? E.g. :
<div class="myClass">Good content --bad content--</div>
I'd like to hide the text between --
and the two delimiters (--[...]--
) as well. So after all it should look like this:
<div class="myClass">Good content </div>
I CANNOT place the bad content within some HTML tags (technical restrictions)!