This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

: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