Hallo Mathias,
div#test p+p+p { /* Formatierung für das dritte p-Element in Folge */
background:#f00;
}
In CSS 3 wäre das dann `#test p:nth-child(0n+1)`{:.language-css} und man spart sich sogar das Wiederholungsproblem. ;)
Tim
Hallo Mathias,
div#test p+p+p { /* Formatierung für das dritte p-Element in Folge */
background:#f00;
}
In CSS 3 wäre das dann `#test p:nth-child(0n+1)`{:.language-css} und man spart sich sogar das Wiederholungsproblem. ;)
Tim