CSS Selectors support in Opera Presto 2.8

W3C references
W3C CSS Selectors Level 2.1
W3C CSS Selectors Level 3
Opera articles
CSS3 attribute selectors
Styling Forms with Attribute Selectors - Part 2: adding in some CSS3
Zebra striping tables with CSS3 (nth-child)

CSS Selectors

The following table describes CSS Selectors support in Opera Presto. Each selector is hyperlinked to its respective place in the online W3C CSS Selector modules.

Selector Level Support
Adjacent Sibling selector (E1 + E2) CSS 2 Yes
Attribute and attribute selectors [att] [att=val] [att~=val] [att|=val] CSS 2 Yes
Attribute selectors with namespace (|attr) CSS 3 Yes
Attribute start selector [att^=val] CSS 3 Yes
Attribute end selector [att$=val] CSS 3 Yes
Attribute contains selector [att*=val] CSS 3 Yes
Child selector ( > ) CSS 2 Yes
Class selectors ( . ) CSS 1 Yes
Descendant selectors (   ) CSS 1 Yes
ID selectors ( # ) CSS 1 Yes
Universal Selector ( * ) CSS 2 Yes
Type selectors ( h1 ) CSS 1 Yes
Type selectors with namespace ( ns|E ) CSS 3 Yes
Negation pseudo-class :not() CSS 3 Yes
:active CSS 1/2 Yes
::after, :after CSS 2 Yes
::before, :before CSS 2 Yes
:checked CSS 3 Yes
:default CSS 3 Yes
:disabled CSS 3 Yes
:empty CSS 3 Yes
:enabled CSS 3 Yes
:first CSS 3 Yes
:first-child CSS 2 Yes
::first-letter, :first-letter CSS 1 Yes
::first-line, :first-line CSS 1 Yes
:first-of-type CSS 3 Yes
:focus CSS 2 Yes
:hover CSS 2 Yes
:in-range CSS 3 Yes
:invalid CSS 3 Yes
:lang() CSS 2 Yes
:left CSS 3 Yes
:link CSS 1/2 Yes
:last-child CSS 3 Yes
:last-of-type CSS 3 Yes
:nth-child() CSS 3 Yes
:nth-last-child() CSS 3 Yes
:nth-of-type() CSS 3 Yes
:nth-last-of-type() CSS 3 Yes
:only-child CSS 3 Yes
:only-of-type CSS 3 Yes
:optional CSS 3 Yes
:out-of-range CSS 3 Yes
:read-only CSS 3 Yes
:read-write CSS 3 Yes
:required CSS 3 Yes
:right CSS 3 Yes
:root CSS 3 Yes
::selection CSS 3 Yes
:target CSS 3 Yes
:valid CSS 3 Yes
:visited CSS 1/2 Yes

Documentation

Opera Help

Need help? Hit F1 anytime while using Opera to access our online help files, or go here.