<global_keywords>

Special words like 'inherit', 'initial', 'unset', and 'revert' that can be used on almost any CSS property to control how it handles cascades or default values.

Quick example

.reset-item {
  /* Forces this property back to its default browser value */
  all: initial;
}

.force-parent-style {
  /* Forces this element to copy its parent's color */
  color: inherit;
}

<global_keywords> Browser Support

Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

1+
1+
1+
12+
ESC