Selectors from CSS4 to CSS1

CSS selectors level 4


CSS selectors level 3

Attribute selector [foo^='bar'] / [foo$='bar'] / [foo*='bar']
Structural pseudo-class selector :root / :empty / :last-child / :only-child / :first-of-type / :last-of-type / :only-of-type / :nth-child(n) / :nth-last-child(n) / :nth-of-type(n) / :nth-last-of-type(n)

CSS selectors level 2


CSS selectors level 1

Information are based on the CSS selectors level 4 - W3C Editors Draft from .