Easy Tutorial
❮ Sel Disabled Func Conic Gradient ❯

CSS all Property

Example

Modify all properties of an element or its parent element to their initial values:

div {
    background-color: yellow;
    color: red;
    all: initial;
}

Definition and Usage

The all property is used to reset all properties, except unicode-bidi and direction.

Default value: none
Inherited: no
--- ---
Animatable: no. Read about animatable
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.all="initial"
--- ---

Browser Support

The numbers in the table specify the minimum version of the browser that supports the property.

Property
all 37.0 Not supported Not supported 27.0 Not supported 24.0

CSS Syntax

all: initial|inherit|unset;

Property Values

Value Description
initial Changes all properties of an element or its parent to their initial values
inherit Changes all properties of an element or its parent to their inherited values
unset Changes all properties of an element or its parent to their inherited values (if inheritable) or their initial values
❮ Sel Disabled Func Conic Gradient ❯