1

I mean, like I would like to style the element that has not attribute title like [!title] /*This doesnt work*/ how can I do this with CSS selectors?

Federico Piragua
  • 707
  • 7
  • 13

1 Answers1

7
*:not([title])

This will select everything that does not have attribute title.

See this JSFiddle for an example.

Robbie Wxyz
  • 7,671
  • 2
  • 32
  • 47