Opposite to html.anon

What’s the opposite class to this one html.anon ?

i.e. it want to use in css display: none but for all logged in

thx for help

1 Like

You can use :not() - CSS: Cascading Style Sheets | MDN

3 Likes

Thanks, I was probably looking for it, but I can’t do it.

i try

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

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

ok its seems to be ok:

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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.