The last-of-type pseudo-class for CSS represents an element that is the last sibling of its type.
It is the same as :nth-last-of-type(1).
selector:last-of-type { property: value; }
first-child
first-of-type
last-child
nth-child
nth-last-child
nth-last-of-type
nth-of-type
only-child
only-of-type
active
any-link
autofill
blank
checked
default
defined
dir
disabled
empty
enabled
focus
focus-visible
focus-within
fullscreen
has
hover
in-range
indeterminate
invalid
is
lang
link
local-link
modal
not
nth-col
nth-last-col
optional
out-of-range
picture-in-picture
placeholder-shown
popover-open
read-only
read-write
required
root
scope
target
valid
visited
where
World Wide Web Consortium (W3C)