CSS3 New Pseudo-class
: First-of-type p:first-of-typeSelect the first <p> element of its parent element per <p> element
: Last-of-type p:last-of-type selection belongs to its parent element <p> element per <p> element
: Only-of-type p:only-of-type selection belongs to its parent element only <p> element per <p> element
: Only-child p:only-child selection belongs to its parent element only element per <p> element
: Nth-child (n) p:nth-child (2) Select the second element that belongs to its parent element each <p> element
: Nth-last-child (n) p:nth-last-child (2) Start counting with elements
: Nth-of-type (n) p:nth-of-type (2) Select the second <p> element per <p> element belonging to its parent element
: Nth-last-of-type (n) p:nth-last-of-type (2) Start counting with elements
: Last-child P:last-child selects elements belonging to its parent element per <p> element
: Root:root Select document root element
: Empty P:empty Select no elements per <p> element (including text nodes)
: Target #news: Target #news element before selection
: Enabled input:enabled Select each enable <input> element
:d isabled input:disabled Select each disable <input> element
: Checked input:checked Select each selection <input> element
: Not (selector): Not (p) Select non-<p> element per element
:: Selection:: Selection Select the element part of the user selection
CSS new Pseudo-class