CSS: global values

By Xah Lee. Date: .
xtodo

css global values

CSS global values are universal keywords defined in the CSS Cascading and Inheritance specification that can be applied to any property to control how a property gets its final value, overriding or bypassing normal cascade rules.

The five primary global keywords are:

These keywords are particularly useful when used with the all shorthand property to reset an element's styles (excluding unicode-bidi, direction, and custom properties) to their initial, inherited, unset, or reverted states.

CSS, border, margin, box model