:nth-last-child (CSS3)

The :nth-last-child pseudo-class matches an element that has an+b-1 siblings after it in the document tree, for a given positive or zero value for n, and has a parent element.

Syntax

:nth-last-child( { number expression | odd | even } ) { declaration block }

Examples having uses of: ':nth-last-child'