This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

:nth-last-child(n)

=

nth-last-child(n)=

Notes

Remarks

The :nth-last-child pseudo-class is a structural pseudo-class. Structural pseudo-classes enable selection based on extra information in the document tree that can’t be selected using simple selectors or combinators.

Syntax

<strong/>selector:nth-last-child(an+b) {...}

Parameters

selector
A CSS simple selector.
an+b
:

Standards information

See also

Related articles

Pseudo-Classes

Selectors

Related pages

Attributions