+ 1

Can anyone explain this?

:not() This selector only applies to one element; you cannot use it to exclude all ancestors. For instance, body :not(table) a will still apply to links inside of a table, since <tr> will match with the :not() part of the selector. Ref:https://developer.mozilla.org/en-US/docs/Web/CSS/:not#description

14th Feb 2021, 1:04 PM
NUR ISLAM
NUR ISLAM - avatar
1 Answer
14th Feb 2021, 2:30 PM
Ipang