Home › Forums › CSS › not selector › Reply To: not selector
November 2, 2018 at 4:57 am
#278389
Beverleyh
Participant
I would suggest you’d want div :not(h1)
to target everything inside the div, except for the h1, but the code you posted isn’t making your requirements very clear.
To help us along, try making a simple CodePen demo to show us what you’re trying to do and what you’re having problems with.