CSS Pseudo-class :nth-last-child
This selector works the same way as nth-child does. The only difference is that starts counting from the last child (4, 3, 2...).
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
All | All | 9+ | 9.5+ | 3.2+ |