Is there a way to select an element in css based on element text?

ie:

li

<li>foo</li>
<li>bar</li>

That probably doesn’t work.

Edit: Also only need to support Chrome.

3 Answers
3

Leave a Reply

Your email address will not be published. Required fields are marked *