Description

Pseudo class element. The first child of an element, first element contained by a parent element.

Example

div:first-child{color:red;}

Introduced in CSS version
2.1
Browser Support
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versions713.19.50.4
Belongs to:

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