CSS Pseudo Class Selector :nth-last-of-type
Selects elements that are the nth from last child of their type defined by their parent
Definition and Notes.
1. CSS Pseudo Class :nth-last-of-type(n) selects and styles element that is at nth-last position of a particular type within its parent element
2. Eg: p:nth-last-of-type(n) will select <p> element at nth position within its parents, counting from last child.