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?
Asked
Active
Viewed 1,775 times
1
Federico Piragua
- 707
- 7
- 13
1 Answers
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
-
1There is an exact duplicate (just saying)! – ComFreek Oct 12 '13 at 20:52