first-of-type

The first-of-type CSS 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

HomeMenu