used value

used value

The used value of any CSS property is the final value of that property, after all calculations have been performed. For some properties, used values can be retrieved by calling window.getComputedStyle. Dimensions (e.g., width, line-height) are all in pixels, shorthand properties (e.g., background) are consistent with their component properties (e.g., background-color, display) and consistent with position and float, and every CSS property has a value.

Details

There are four steps to calcul