I have a html:
<div class="test>
<span>Yellow</span>
<span>Blue</span>
<span>Purple</span>
</div>
I want spans that contain texts "Yellow" and "Purple" to hide. Can I do it with CSS? Maybe attributes? Spans don't have classes or, in other words, they can't have them.