1/* You must use :not at the end of your style */
2
3.class {
4 color: black;
5}
6
7/* Excluding normal will be */
8
9.class:not(#normal) {
10 color: blue
11}
12
13/*
14HTML
15
16<body>
17 <div class="class">
18 <p>text specially in blue</p>
19 <p id="normal">normal text</p>
20 </div>
21</body>
22*/
23
24/* first paragraph will be in blue but not the second one */