Search within TutorialsPark

CSS3 Pseudo Class :first-of-type Selector


Selects elements elements which is first sibling of its type


Definition and Notes.

1. CSS Pseudo Selector :first-of-type selects and styles elements which is the first child of its type within another element.

2. Eg: div:first-of-type selects first divelement within any other element.


Pattern:

CSS :lang(language)Pseudo Class selector. internetexplorer safari firefox opera chrome

View in Splitscreen»

Code-Editor:




Related Examples.