Menu Samaritan's Purse

FIRST-OF-TYPE

The first-of-type pseudo-class represents an element that is the first sibling of its type.

It is the same as :nth-of-type(1).

SYNTAX

selector:first-of-type {
    property: value;
}

EXAMPLES

INTERNAL

first-child

last-child

last-of-type

nth-child

nth-last-child

nth-last-of-type

nth-of-type

only-child

only-of-type

EXTERNAL

World Wide Web Consortium (W3C)