HTML CSS examples for CSS Selector:not
CSS :not selector usage
<html lang="en"> <head> <style> div:not(.a):not(.b) { color:Chartreuse; } </style> <!--from w ww.j a va 2 s . com--> </head> <body translate="no"> <div class="a"> Lorem ipsum </div> <div class="b"> Lorem ipsum </div> <div class="b a"> Lorem ipsum </div> <div class="c"> Lorem i </div> </body> </html>