Is there negation with CSS selectors? #6058
-
Can I for example have a rule applied if it doesn't have a particular class? I would want to specifically apply it on a
|
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
Aug 21, 2025
Replies: 1 comment
-
No, but then you would set the negated state as the default. i.e. the focus-within would have the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pycaw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, but then you would set the negated state as the default. i.e. the focus-within would have the
padding-bottom: 1
, and the-collapsed
style would set it to something else.