Ashura: Was wird eigentlich alles nicht angezeigt?

Beitrag lesen

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

--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
<mathbr:del.icio.us />