我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
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