Daniel Glazman Ian Hickson div.stub *:not(:contains("red")) { background-color: lime; } .red { background-color: red; }

This paragraph should have a green background.

  • All the text in this list should have a
  • green background throughout as well.