a not css code example Example: css not class /* Style everything but the .different class */ li:not(.different) { font-size: 3em; }