July 22, 2019

CSS :not() with Multiple Classes

Say you want to select an element when it doesn’t have a certain class. That’s what the :not() selector is for. body:not(.home) { } But […]