:nth-last-of-type(n)
Term side of the Card
Topic: Pseudo Classes
Unit title: :nth-last-of-type(n)
Categories: Pseudo-class
Explanation side of the Card
Explanation: The pseudo-class that selects elements of a specific type based on their position among siblings of the same type. It's useful for targeting specific elements in a sequence, counting backwards from the last element of that type.
Browser compatibility:
- The chrome browser supports this feature starting from version 4
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 3.5
- The safari browser supports this feature starting from version 3.1
Availability: