The :nth-last-of-type(n)
selector matches every element that is the nth child, of a particular type, of its parent, counting from the last child.
The :last-of-type
selector matches every element that is the last child, of a particular type, of its parent.
Thanks Gonzo!