CSS all Property

CSS all Property


CSS all Property
all property is used to reset all the properties to their initial or inherited values.
This property does not work on direction and Unicode-bidi.
Syntax - 
all: values;
This property has three values given down below -
1. initial
It changes all the properties applied to the element or the parent value to their initial value.
2. inherit
It changes all the properties applied to the element or the parent to the parent’s value.
3. unset
It changes all the properties applied to the element or the parent to their parent value 
Only if they are inheritable otherwise it sets the value to their initial value.
Now we will see example -
Example -
Output -

Example 2 - Without all property - 
Output -