{"json_modified": "2015-09-04T07:54:51.760071", "slug": "Web/CSS/used_value", "tags": [], "locale": "zh-CN", "title": "\u5e94\u7528\u503c", "translations": [{"title": "used value", "url": "/en-US/docs/Web/CSS/used_value", "tags": ["CSS", "NeedsLiveSample", "Web", "Guide"], "summary": "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\u00a0window.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
,\u00a0display)
and consistent with position
and float
, and every CSS\u00a0property has a value.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-03T11:00:50", "review_tags": ["technical"]}, {"title": "\u4f7f\u7528\u5024", "url": "/ja/docs/Web/CSS/used_value", "tags": ["\u8981\u66f4\u65b0"], "summary": "CSS \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u7528\u5024\u306f\u3001\u305d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u3059\u3079\u3066\u306e\u8a08\u7b97\u304c\u5b9f\u884c\u3055\u308c\u305f\u5f8c\u306e\u6700\u7d42\u7684\u306a\u5024\u3067\u3059\u3002\u4f7f\u7528\u5024\u306f window.getComputedStyle \u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u8aad\u307f\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002
width
\u3084 line-height
\u3068\u3044\u3063\u305f\u5bf8\u6cd5\u306f\u3059\u3079\u3066\u30d4\u30af\u30bb\u30eb\u3067\u3001 background \u306e\u3088\u3046\u306a\u77ed\u7e2e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f background-color
\u3068\u3044\u3063\u305f\u305d\u306e\u69cb\u6210\u8981\u7d20\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u4e00\u81f4\u3057\u3001 display
\u306f position
\u3084 float
\u3068\u4e00\u81f4\u3057\u3001\u3059\u3079\u3066\u306e CSS \u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5024\u3092\u6301\u3061\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2013-05-30T10:28:23", "review_tags": []}, {"title": "Valeur utilis\u00e9e", "url": "/fr/docs/Web/CSS/Valeur_utilis%C3%A9e", "tags": ["CSS", "R\u00e9f\u00e9rence CSS"], "summary": "La valeur utilis\u00e9e de n'importe quelle propri\u00e9t\u00e9 CSS est la valeur finale d'une propri\u00e9t\u00e9 apr\u00e8s que tous les calculs aient \u00e9t\u00e9 r\u00e9alis\u00e9s. Les valeurs utilis\u00e9es peuvent \u00eatre retrouv\u00e9e en appelant window.getComputedStyle. Les dimensions (p. ex. width
, line-height
) sont toutes en pixels, les propri\u00e9t\u00e9s raccourcies (p. ex. background
) sont coh\u00e9rentes avec leurs propri\u00e9t\u00e9s composantes (p. ex. background-color
),\u00a0display
est coh\u00e9rente avec position
et float
, et toutes les propri\u00e9t\u00e9s CSS ont une valeur.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2015-07-17T16:40:26", "review_tags": []}], "modified": "2015-09-04T07:54:42", "label": "\u5e94\u7528\u503c", "localization_tags": [], "url": "/zh-CN/docs/Web/CSS/used_value", "last_edit": "2014-04-21T00:13:51", "summary": "CSS \u5c5e\u6027\u7684\u5e94\u7528\u503c\uff08used value\uff09\u662f\u5b8c\u6210\u6240\u6709\u8ba1\u7b97\u540e\u6700\u7ec8\u4f7f\u7528\u7684\u503c\uff0c\u53ef\u4ee5\u7531 window.getComputedStyle \u83b7\u53d6\u3002\u5c3a\u5bf8 (\u4f8b\u5982 width
, line-height
) \u5355\u4f4d\u4e3a\u50cf\u7d20, \u7b80\u5199\u5c5e\u6027 (\u4f8b\u5982 background) \u4e0e\u7ec4\u6210\u5c5e\u6027\u76f8\u7b26 (\u4f8b\u5982 background-color
),\u00a0display
\u4e0e position
\u3001float\u76f8\u7b26\uff0c
\u6bcf\u4e2a CSS \u5c5e\u6027\u90fd\u6709\u503c\u3002", "sections": [{"id": "\u8be6\u60c5", "title": "\u8be6\u60c5"}, {"id": "\u4e3e\u4f8b", "title": "\u4e3e\u4f8b"}, {"id": "\u4e0e\u8ba1\u7b97\u503c\u7684\u533a\u522b", "title": "\u4e0e\u8ba1\u7b97\u503c\u7684\u533a\u522b"}, {"id": "\u89c4\u8303", "title": "\u89c4\u8303"}, {"id": "\u53e6\u89c1", "title": "\u53e6\u89c1"}], "id": 74679, "review_tags": []}