For example:
<div id="element1" class="c1 c2 c3"></div>
<div id="element2" class="c1 c2 c3 b1"></div>
Is there any CSS selector that will allow me to select elements that contain only and exactly classes c1, c2 and c3.
So I want to be able to get element1
but not element2
, and I'm not using the ID because thats actually the same on every page, but I want to be able to find when the div has only those classes and nothing else.
Thanks!
[class="c1 c2 c3"]
?