CSS Property all

css property all can be used to reset the css properties to their initial values or to force these css properties to inherit their values from the cascade.

CSS Property all Value

  • initial
  • unset
  • inherit

initial

This keyword indicates that every one properties of the part (execept direction and unicode-bidi) square measure to be set to their default initial values. Property reset keyword. A property’s initial worth, removing any values that square measure ordinarily transmissible.

unset

This keyword is much a mix of the initial and inherit keywords: if the property in question is typically transmitted by default, then the keyword is treated as inherit and also the transmitted price is used; if the property isn’t typically transmitted by default, the keyword is treated as initial and also the property is ready to its initial price. Declaration erase keyword. If the property is transmitted, unset can act as inherit. If the property isn’t transmitted, unset can act as initial.

inherit

This keyword indicates that each one properties of the part (execept direction and unicode-bidi) which will inherit from the element’s root ar to be set to their inheritable values. specific inheritance keyword. The computed price of the equivalent property on associate element’s parent.

Desktop Browser Support

Mobile Browser Support

Leave a Reply