BaBa: Vererbungsproblem first-child nur bei UL UL nicht bei UL UL UL

Beitrag lesen

Ich habe in Vererbungsproblem!

Nein, ein Spezifikationsproblem.

setzen, doch ich muss

ul ul ul li:first-child{width:100%;}
ul ul ul li:last-child{width:100%;}

um LAST und FIRST zu überschreiben.

Richtig erkannt. Da die Pseudoclass first-child eine höhere Spezifikation hat.

Wie setze ich LAST und FIRST so, das es nur im zweitel UL Bereich funktioniert?

ul>ul>li 

Cheers,

BaBa

--
BaBa kommt von Basketball