How :not() chains multiple selectors | MDN Blog

How :not() chains multiple selectors | MDN Blog

In CSS, when you want to apply the same style to multiple elements, you generally use a comma-separated selector list to group the selectors. This is illustrated below: h1, h2, h3, h4, h5, h6 { font-family: helvetica; } Similarly, you can group several :not() declarations in a comma-separated list of selectors to apply the specified styles only to excluded matching elements.…
Read More