CSS 3: first, last and only-child pseudo–classes

This text should be blue, there are 3 paragraphs in the div

Second paragraph, it should be black

This is a third paragraph, it should be red

This text should be green, the paragraph is the only child of the div

But his text should be red, although the paragraph is the only child of the div, the order of the selectors in the source has changed

Last modified: June 03 2004 08:25:59 GMT.