css :not selector code example
Example 1: css not class
/* Style everything but the .different class */
li:not(.different) {
font-size: 3em;
}
Example 2: css not
/* Selects any element that is NOT a paragraph */
:not(p) {
color: blue;
}
/* Style everything but the .different class */
li:not(.different) {
font-size: 3em;
}
/* Selects any element that is NOT a paragraph */
:not(p) {
color: blue;
}