Introduction to the CSS :not selector

Here is a quick introduction to one of my favorite selectors in CSS, the :not selector. This helps reduce the amount of times you have to undo CSS declarations in your codebase.

Did you find this post useful? Show some love!
DISCUSSION
Classic DEV Post from Apr 11

What do you do on a daily basis for your job?

...

Alex Carpenter
I’m a front-end developer focused on performance and accessibility.

How well do you know your own code?

Sign up (for free)