Introduction
The :not() selector helps you style elements except the ones you want to exclude. It makes your CSS simpler by avoiding extra classes or complicated rules.
You want to style all buttons except the submit button.
You want to highlight all list items except the first one.
You want to apply a style to all paragraphs except those with a special class.
You want to change the color of all links except those inside the footer.