Hallo derletztekick.
Nochmal zum Thema: Was wird bei dsplay: none; alles ausgeblendet? Das ganze Element oder nur der Inhalt dessen?
Es wird all das ausgeblendet, auf was der betreffende Selektor zutrifft. (Also Element und Inhalt.)
Dadurch sind momentan leider solche Konstrukte wirkungslos:
foo {
display:none;
}
foo::before {
content:'Bar';
display:block;
}
Einen schönen Donnerstag noch.
Gruß, Ashura