The resolved value of a CSS property is the value returned by getComputedStyle()
. For most properties, it is the computed value
, but for a few legacy properties (including width
and height
), it is instead the used value
. See the specification link below for more per-property details.
Specifications
Specification | Status | Comment |
---|---|---|
CSS Object Model (CSSOM) The definition of 'resolved value' in that specification. |
Working Draft | Initial definition |
See also
- CSS Reference
- CSS Key Concepts: CSS syntax, at-rule, comments, specificity and inheritance, the box, layout modes and visual formatting models, and margin collapsing, or the initial, computed, resolved, specified, used, and actual values. Definitions of value syntax, shorthand properties and replaced elements.
window.getComputedStyle