:last-of-type Back
:last-of-type
is a pseudo-class selector that selects an element that is the last element (sibling(兄弟姐妹關係)) of its type in the list of children of its parent.
- It's similar with
:first-of-type
Case: learning :last-of-type
See the Pen bEYMNo by aleen42 (@aleen42) on CodePen.