/* :not(selectorX)
   selects elements that are NOT selected by the selectorX selector specified as its argument. */
:not(selectorX) {
    /* ... */
}
li:not(.not-bg) {
    background-color: yellowgreen;
}
<ul>
    <li>I am an li element.</li>
    <li class="not-bg">I am an li element with the .not-bg class selector.</li>
    <li>I am an li element.</li>
    <li>I am an li element.</li>
    <li>I am an li element.</li>
</ul>
Rendered Output
li:not(.not-bg-1, .not-bg-2) {
    background-color: yellowgreen;
}
<ul>
    <li>I am an li element.</li>
    <li class="not-bg-1">I am an li element with the .not-bg-1 class selector.</li>
    <li class="not-bg-2">I am an li element with the .not-bg-2 class selector.</li>
    <li>I am an li element.</li>
    <li>I am an li element.</li>
</ul>
Rendered Output
li:not(.not-bg-1):not(.not-bg-2) {
    background-color: yellowgreen;
}
li:not(.not-bg-1, .not-bg-2) { /* Specificity = 0, 0, 1, 1 */
    background-color: yellowgreen;
}

li:not(.not-bg-1):not(.not-bg-2) { /* Specificity = 0, 0, 2, 1 */
    background-color: yellowgreen;
}