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
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
You can use :not() - CSS: Cascading Style Sheets | MDN
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;
}
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.