html.anon의 반대

이 html.anon 클래스와 반대되는 클래스는 무엇인가요?

즉, 로그인한 모든 사용자에게 display: none을 적용하고 싶은데,

도움 주셔서 감사합니다.

:not() CSS pseudo-class - CSS | MDN 을(를) 사용할 수 있습니다.

고마워요. 아마도 그걸 찾고 있었을 텐데, 제가 직접 하진 못했어요.

다음처럼 시도해 봤어요:

 html :not.anon .d-header-icons {
  display: none;
}

:not  html.anon .d-header-icons {
  display: none;
}

음, 이제 괜찮은 것 같아요:

 html:not(.anon) .d-header-icons {
  display: none;
}