CSS Pseudo Class List
The complete list of all CSS pseudo classes
| Name | Chrome | Firefox | IE | Opera | Safari |
|---|---|---|---|---|---|
| :active | ✓ | ✓ | ✓ | ✓ | ✓ |
| :after | ✓ | 1 | 8 | 8 | 1 |
| :before | ✓ | 1 | 8 | 8 | 1 |
| :checked | ✓ | 1 | 9 | 9 | 3.13 |
| :corner-present | ✓ | 5 | |||
| :decrement | ✓ | 5 | |||
| :default | ✓ | 3 | 10 | 10 | 5 |
| :disabled | ✓ | 1.5 | 9 | 9 | 3.1 |
| :double-button | ✓ | 5 | |||
| :empty | ✓ | 1.5 | 9 | 9 | 3.1 |
| :enabled | ✓ | 1.5 | 9 | 9 | 3.1 |
| :end | ✓ | 5 | |||
| :first | ✓ | ✓ | ✓ | ✓ | ✓ |
| :first-child | ✓ | 3 | 7 | 9.5 | 3.1 |
| :first-letter | ✓ | ✓ | ✓ | ✓ | ✓ |
| :first-line | ✓ | ✓ | ✓ | ✓ | ✓ |
| :first-of-type | ✓ | 3.5 | 9 | 9.5 | 3.2 |
| :focus | ✓ | ✓ | ✓ | ✓ | ✓ |
| :horizontal | ✓ | 5 | |||
| :hover | ✓ | ✓ | ✓ | ✓ | ✓ |
| :increment | ✓ | 5 | |||
| :indeterminate | ✓ | 3.6 | 9 | 10.6 | 3 |
| :in-range | ✓ | 10 | 10 | 9.6 | 5.1 |
| :invalid | ✓ | 4 | 10 | 10 | 5 |
| :lang(en) | ✓ | 1 | 8 | 8 | 3 |
| :last-child | ✓ | 1 | 9 | 9.5 | 3.1 |
| :last-of-type | ✓ | 3.5 | 9 | 9.5 | 3.1 |
| :left | ✓ | ✓ | ✓ | ✓ | ✓ |
| :link | ✓ | ✓ | ✓ | ✓ | ✓ |
| :no-button | ✓ | 5 | |||
| :not(:empty) | ✓ | 1 | 9 | 9.5 | 2 |
| :nth-child(2n+1) | ✓ | 3.5 | 9 | 9.5 | 3.1 |
| :nth-last-child(-n+2) | ✓ | 3.5 | 9 | 9.5 | 3.1 |
| :nth-last-of-type(n+2) | ✓ | 3.5 | 9 | 9.5 | 3.1 |
| :nth-of-type(2n+1) | ✓ | 3.5 | 9 | 9.5 | 3.1 |
| :only-child | ✓ | 1.5 | 9 | 9.5 | 3.1 |
| :only-of-type | ✓ | 3.5 | 9 | 9.5 | 3.2 |
| :optional | ✓ | 4 | 10 | 10 | 5 |
| :out-of-range | ✓ | 10 | 10 | 9.6 | 5.1 |
| :read-only | ✓ | 10 | 10 | 9 | 4 |
| :read-write | ✓ | 10 | 10 | 9 | 4 |
| :required | ✓ | 4 | 10 | 10 | 5 |
| :right | ✓ | ✓ | ✓ | ✓ | ✓ |
| :root | ✓ | 1 | 9 | 9.5 | 1 |
| :single-button | ✓ | 5 | |||
| :start | ✓ | 5 | |||
| :target | ✓ | 1 | 9 | 9.5 | 1 |
| :valid | ✓ | 4 | 10 | 10 | 5 |
| :vertical | ✓ | 5 | |||
| :visited | ✓ | ✓ | ✓ | ✓ | ✓ |
| :window-inactive | ✓ | 3 |
| Name | Chrome | Firefox | IE | Opera | Safari |
|---|---|---|---|---|---|
| :-moz-any | 4 | ||||
| :-moz-any-link | 1 | ||||
| :-moz-broken | 3 | ||||
| :-moz-drag-over | 1 | ||||
| :-moz-first-node | 1 | ||||
| :-moz-focusring | 4 | ||||
| :-moz-last-node | 1 | ||||
| :-moz-loading | 3 | ||||
| :-moz-only-whitespace | 1.5 | ||||
| :-moz-placeholder | 4 | ||||
| :-moz-submit-invalid | 4 | ||||
| :-moz-suppressed | 3 | ||||
| :-moz-ui-invalid | 4 | ||||
| :-moz-ui-valid | 4 | ||||
| :-moz-user-disabled | 3 | ||||
| :-moz-window-inactive | 4 | ||||
| :-ms-input-placeholder | 10 | ||||
| :-ms-keyboard-active | 10 | ||||
| :-ms-lang(en) | 10 |
Help make Visual Studio better. Report CSS bugs here