:nth-last-of-type(n)
=
- nth-last-of-type(n)=
Notes
Remarks
The :nth-last-of-type 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-of-type(an+b) {...}
Parameters
- selector
- A CSS simple selector.
an+b
:
Standards information
- Selectors Level 3, Section 6.6.5.5
See also
Related articles
Pseudo-Classes
:nth-last-of-type(n)
Selectors
:nth-last-of-type(n)
Related pages
Reference
- :root:root
- :nth-child:nth-child
- :nth-last-child:nth-last-child
- :nth-of-type:nth-of-type
- :last-child:last-child
- :first-of-type:first-of-type
- :last-of-type:last-of-type
- :only-child:only-child
- :only-of-type:only-of-type
- :empty:empty
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]