CSS all Property
- Previous Page align-self
- Next Page animation
Definition and Usage
all
The properties will be reset to their initial value or inherited value, except for unicode-bidi and direction.
Example
All properties of the element or the parent element will be changed to their initial value:
div { background-color: yellow; color: red; all: initial; }
CSS Syntax
all: initial|inherit|unset;
Property Value
Value | Description |
---|---|
initial | Set this property to its default value. See initial. |
inherit | Inherit this property from its parent element. See inherit. |
unset | If inheritable, it will apply to all properties of the element or the parent element and change them to their parent value, otherwise change them to the initial value. |
Technical Details
Default Value: | none |
---|---|
Inheritance: | No |
Animation Creation: | Not supported. See:Animation-related Properties. |
Version: | CSS3 |
JavaScript Syntax: | object.style.all="initial" |
Browser Support
The numbers in the table indicate the first browser version that fully supports this property.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | IE / Edge | Firefox | Safari | Opera |
37.0 | 79.0 | 27.0 | 9.1 | 24.0 |
- Previous Page align-self
- Next Page animation