Back to the index.
This module contains a few specialized keywords to control CSS’s cascading and inheritance. Some of them, like @import and the inherit value, have been around for a long time. Others are new.
This is the desktop table. See also the mobile table.
Last major update on 23 September 2014.
I'm writing a CSS book.
| Method or property | Internet Explorer | Firefox | Safari | Chrome | Opera | Yandex | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 7 and lower | 8 | 9 | 10 | 11 | 32 Win | 32 Mac | 32 Linux | 7 | 37 Win | 37 Mac | 37 Linux | 24 Win | 24 Mac | 14 Win | 14 Mac | ||||
| To import another style sheet | Yes | Yes | Yes | Yes | Yes | Yes | |||||||||||||
|
|||||||||||||||||||
| To apply styles to part of the document | No | Yes | No | No | No | No | |||||||||||||
| Increases the specificity of a style rule. | Yes | Yes | Yes | Yes | Yes | Yes | |||||||||||||
Targets all CSS properties. Only the inherit, initial, and unset values are allowed.
|
No | Yes | No | Yes | Yes | No | |||||||||||||
|
Special test for IE8 |
Mini |
Yes | Yes | Yes | Yes | Yes | Yes | ||||||||||||
|
|||||||||||||||||||
| The initial value as specified in the CSS spec | No | Yes | Yes | Yes | Yes | Yes | |||||||||||||
Sets the value to inherit if that’s the default; to initial otherwise
|
No | Yes | No | Mini |
Mini |
Mini |
|||||||||||||
|
|||||||||||||||||||
| Method or property | Internet Explorer | Firefox | Safari | Chrome | Opera | Yandex | |||||||||||||
| 7 and lower | 8 | 9 | 10 | 11 | 32 Win | 32 Mac | 32 Linux | 7 | 37 Win | 37 Mac | 37 Linux | 24 Win | 24 Mac | 14 Win | 14 Mac | ||||
Desktop browser test array 2.0; September 2014