Description

Pseudo class element. The first sibling of it's type within the parent element.

See also:

  • :nth-child
  • :last-of-type
  • :nth-last-child
  • :nth-of-type
  • :only-child
  • :only-of-type
Live Example
Play with the code in the textarea below.

Introduced in CSS version
2.1
Inherited
Yes
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions713.19.50.4
Belongs to:

See the full list CSS properties and browser support: CSS Properties