0

I need to add some CSS for all the icons on the page that represent a check mark. It is any chance to do this without add additional class, just with CSS? Basically, it is a CSS selector for elements containing certain content or another way to archive this?

<i class="material-icons">check</i>

I don't want to add another class because it is a big app and I need to be something general, but only for this type of icons, "check". Something like i[content=check].

*I saw Is there a CSS selector for elements containing certain text? but is a question posted 8 years ago.

Madalina Taina
  • 1,968
  • 20
  • 26

0 Answers0