I have a code already working, but in a way not … too elegant.
I need not to apply a style to many elements, children of a div.
My present code is this:
You are right, excuse me.
What I want is not to apply to all anchor element in that div, a rule that should be applied to all other anchor of a webpage.
In other word a rule should be applied to all anchor element expect those in a section (within a given, particular, div).
For the real code you can see any page of my website https://www.culturanuova.net/ (in footer section and in normal.css [130 - 142 rows])
You can do that like this assuming that you have a class on the parent to use.
a:not(.token a) {background:red}
That will give a background to all anchors except the ones inside the .token div.
Generally its best not to style elements globally but use a class instead. There are a few things you can style globally but usually that would be margins and padding or simple reset styles.
Undoing styles is generally considered bad practice so keep tight control on your scope.
There are some new things in css such as @layer that will help but are rather complex for most general use cases.