Hi,
p:nth-child(odd) {
background:#f00;
}
p:nth-child(even) {
background:#0f0;
}
p:nth-child(1) {
background:#ff0;
}
>
> Klappt nicht. Wenn ich den zweiten p gelb hinterlege, wird der erste gelb.
Wo bitte „hinterlegst“ du das zweite P-Element mit Gelb?
MfG ChrisB
--
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/