The all property is a shorthand that resets all CSS properties except direction and unicode-bidi. It only accepts the CSS-wide keywords.

  • Initial valueSee individual properties
  • Applies toSee individual properties
  • InheritedSee individual properties
  • MediaSee individual properties
  • Computed valueSee individual properties
  • AnimatableSee individual properties
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.all
Formal syntax: initial | inherit | unset 

all: initial;
all: inherit;
all: unset;
  • initialThis keyword will change all the properties applying to the element or the element to their initial value.
  • inheritThis keyword will change all the properties applying to the element or the element to their parent value.
  • unsetThis keyword will change all the properties applying to the element or the element to their parent value if they are inheritable or to their initial value if not.
.class {
   all:unset;
}
?Firefox?Explorer?Chrome?Safari?Opera


Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.