CSS Selectors support in Opera Presto 2.5

There are three levels of CSS, CSS level 1, 2, and 3. CSS level 2 has a revision under development, referred to as "CSS level 2, revision 1" or "CSS 2.1" for short. CSS level 3 modules are in different stages of development.

When level is set to "CSS 1/2" ("CSS 1/2.1"), the property was introduced with CSS Level 1, and extended with CSS Level 2 (revision 1).

See these Web pages for further reference.

The following table defines which CSS Selectors are supported by Opera.

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.