all

Except for unicode-bidi, direction, and CSS Custom Properties, the all shorthand CSS property resets all of an element's properties. It has the ability to set properties to their initial or inherited values, as well as values specified in another stylesheet origin.

Example

Initial value No initial value
Applies to all elements in the page

Syntax

  
all: inherit;
  

Values

Resets all element's properties to their default values.
Changes all element's properties to their inherited values.
Specifies that all properties of the element should be changed to their inherited values if they inherit by default, or to their initial values if they do not.

Browser support

all 1 1 3.5 1 12 3

We use cookies to improve your experience. Learn more in our Privacy policy.

×