The :not selector

/* It'll apply color tomato to all divs without class `.tomato` */
div:not(.special) {
  color: tomato;
}