Resolved value
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
window.getComputedStyle
- 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.
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/resolved_value