Matches an E element, the n-th child of its parent, counting from the last one (Source: W3C)
<div>
<p>Lorem ipsum dolor sit amet, consectetur</p>
<p>Lorem ipsum dolor sit amet, consectetur</p>
<p>Lorem ipsum dolor sit amet, consectetur</p>
</div>
p{font-style:normal}
p:nth-last-child(2){font-style:italic}
p:nth-last-child(odd){color:green}
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
In the example, the second to last paragraph should be set in italics and the sixth, fourth and second (odd) should be green.