The last-child CSS pseudo-class represents an element that is the last child of its parent.
It is the same as :nth-last-child(1).
Syntax
selector:last-child { property: value; }
The last-child CSS pseudo-class represents an element that is the last child of its parent.
It is the same as :nth-last-child(1).
selector:last-child { property: value; }