Main Index | Property Index | Browser History | How to Read These Pages |
Syntax | Units | Fonts | Text | Colors/Backgrounds | Scrollbars | Outlines | Lists Tables | Classification | Dimensions | Positioning | Margins | Padding | Borders Dynamic Content | Generated Content | International | Printing | Aural | Extensions |
||||||||||
CSS | Browsers | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Syntax | Specific Syntax | 1.0 | 2.0 | 2.1 | 3.0 | IE | Netscape | Opera | Safari | |
Inclusion Methods | X | X | X | X | 3.0 | 4.0B2 | 3.5 | 1.0 | ||
External Style Sheets | X | X | X | X | 3.0 | 4.0B2 | 3.5 | 1.0 | ||
Embedded Style Sheets | X | X | X | X | 3.0 | 4.0B2 | 3.5 | 1.0 | ||
Inline Style Sheets | X | X | X | X | 3.0 | 4.0B3 | 3.5 | 1.0 | ||
@Rules | X | X | X | 4.0 | 4.0 | 3.5 | 1.0 | |||
@charset | -- | X | X | 5.5 | 6.0 | ?? | ?? | |||
@import | X | X | X | 4.0 | 6.0 | 3.5 | 1.0 | |||
@media | -- | X | X | 4.0 | 6.0 | 3.5 | 1.0 | |||
@namespace | -- | -- | -- | -- | 6.0 | -- | ?? | |||
@page | -- | X | X | 5.5 | -- | 4.0 | -- | |||
@fontdef | -- | -- | -- | -- | 4.0-4.x | -- | -- | |||
@font-face | -- | X | -- | 4.0 | -- | -- | -- | |||
Rule Set Syntax | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Selector Grouping | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Declaration Grouping | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Declaration Shorthands | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Selectors | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Element - Namespace | -- | -- | -- | X | -- | -- | 6.0 | ?? | ||
Element - Universal | -- | X | X | X | 5.0 | 6.0 | 4.0 | ?? | ||
Element - Simple | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Element - Descendent | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Element - Child | -- | X | X | X | -- | 6.0 | 3.5 | 1.0 | ||
Element - Adjacent | -- | X | X | X | -- | 6.0 | 5.0 | 1.0 | ||
Attribute - Simple | -- | X | X | X | -- | 6.0 | 4.0 | 1.0 | ||
Attribute - Value | -- | X | X | X | -- | 6.0 | 4.0 | 1.0 | ||
Attribute - Begin Value | -- | -- | -- | X | -- | 6.0 | -- | 1.0 | ||
Attribute - End Value | -- | -- | -- | X | -- | 6.0 | -- | 1.0 | ||
Attribute - Substring Value | -- | -- | -- | X | -- | 6.0 | -- | 1.0 | ||
Attribute - One-Of-Many | -- | X | X | X | -- | 6.0 | 4.0 | 1.0 | ||
Attribute - Hyphen | -- | X | X | X | -- | 6.0 | 4.0 | 1.0 | ||
Attribute - Namespace | -- | -- | -- | X | -- | 6.0 | -- | ?? | ||
HTML - Class | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
HTML - ID | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
Pseudo-Classes | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
:link | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
:visited | X | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | ||
:active | X | X | X | X | 4.0 | 6.0 | 5.0 | 1.0 | ||
:hover | -- | X | X | X | 4.0 | 6.0 | 4.0 | 1.0 | ||
:focus | -- | X | X | X | -- | 6.0 | 7.0 | -- | ||
:enabled | -- | -- | -- | X | -- | -- | -- | -- | ||
:disabled | -- | -- | -- | X | -- | -- | -- | -- | ||
:checked | -- | -- | -- | X | -- | -- | -- | -- | ||
:indeterminate | -- | -- | -- | X | -- | -- | -- | -- | ||
:root | -- | -- | -- | X | -- | 6.0 | -- | 1.0 | ||
:empty | -- | -- | -- | X | -- | 6.0 | -- | ?? | ||
:not(x) | -- | -- | -- | X | -- | 6.0 | -- | 1.0 | ||
:contains("x") | -- | -- | -- | X | -- | -- | -- | -- | ||
:first-child | -- | X | X | X | -- | 6.0 | 7.0 | -- | ||
:nth-child(n) | -- | -- | -- | X | -- | -- | -- | -- | ||
:nth-last-child(n) | -- | -- | -- | X | -- | -- | -- | -- | ||
:last-child | -- | -- | -- | X | -- | 6.0 | -- | -- | ||
:only-child | -- | -- | -- | X | -- | -- | -- | -- | ||
:first-node | -- | -- | -- | -- | -- | 6.0 | -- | -- | ||
:last-node | -- | -- | -- | -- | -- | 6.0 | -- | -- | ||
:first-of-type | -- | -- | -- | X | -- | -- | -- | -- | ||
:nth-of-type(n) | -- | -- | -- | X | -- | -- | -- | -- | ||
:nth-last-of-type(n) | -- | -- | -- | X | -- | -- | -- | -- | ||
:last-of-type | -- | -- | -- | X | -- | -- | -- | -- | ||
:only-of-type | -- | -- | -- | X | -- | -- | -- | -- | ||
:lang(x) | -- | X | X | X | -- | 7.1 | 7.5 | -- | ||
:target | -- | -- | -- | X | -- | -- | -- | -- | ||
:viewport | -- | -- | -- | -- | -- | 6.0 | -- | -- | ||
:viewport-scroll | -- | -- | -- | -- | -- | 6.0 | -- | -- | ||
:canvas | -- | -- | -- | -- | -- | 6.0 | -- | -- | ||
:scrolled-content | -- | -- | -- | -- | -- | 6.0 | -- | -- | ||
:first | -- | X | X | X | -- | -- | -- | -- | ||
:left | -- | X | X | X | -- | -- | -- | -- | ||
:right | -- | X | X | X | -- | -- | -- | -- | ||
Pseudo-Elements | X | X | X | X | 5.5B1 | 6.0 | 3.5 | 1.0 | ||
:before | -- | X | X | X | -- | 6.0 | 4.0 | 1.0 | ||
:after | -- | X | X | X | -- | 6.0 | 4.0 | 1.0 | ||
:first-letter | X | X | X | X | 5.5B1 | 6.0 | 3.5 | 1.0 | ||
:first-line | X | X | X | X | 5.5B1 | 6.0 | 3.5 | 1.0 | ||
:selection | -- | -- | -- | X | -- | -- | -- | 1.3 | ||
Miscellaneous Syntax | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | |||
Unicode Escapes | -- | X | X | 6.0 | 6.0 | 6.0 | 1.0 | |||
Comments | X | X | X | 3.0 | 4.0 | 3.5 | 1.0 | |||
!important | X | X | X | 4.0 | 6.0 | 3.5 | 1.0 | |||