HTML CSS examples for CSS Selector:not
CSS nested not selector
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul li:not(.one):not(.two) { color:Chartreuse; } </style> <!--from w w w. j a v a 2 s .c o m--> </head> <body> <ul> <li class="one">Lorem</li> <li class="two">Lor</li> <li class="three">Lorem</li> </ul> </body> </html>