{"json_modified": "2016-02-02T22:13:42.344348", "slug": "Web/CSS/attr", "tags": ["CSS", "css", "CSS Function", "attr Function"], "locale": "zh-CN", "title": "attr", "translations": [{"title": "attr", "url": "/en-US/docs/Web/CSS/attr", "tags": ["css", "CSS", "Reference", "R\u00e9f\u00e9rence", "Web", "CSS Function", "Layout"], "summary": "The attr()
CSS function is used to retrieve the value of an attribute of the selected element and use it in the style sheet. It can be used on pseudo-elements too and, in this case, the value of the attribute on the pseudo-element's originated element is returned.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-01-28T19:43:18", "review_tags": []}, {"title": "attr()", "url": "/fr/docs/Web/CSS/attr", "tags": ["css", "CSS", "Reference", "R\u00e9f\u00e9rence", "Web", "CSS Fonction"], "summary": "La fonction attr()
sert \u00e0 r\u00e9cup\u00e9rer la valeur d'un attribut HTML de l'\u00e9l\u00e9ment s\u00e9lectionn\u00e9, afin de l'utiliser dans la feuille de style. Il peut aussi \u00eatre utilis\u00e9 sur les pseudo-\u00e9l\u00e9ments, dans ce cas, la valeur de l'attribut de l'\u00e9l\u00e9ment source du pseudo-\u00e9l\u00e9ment sera fournie.", "localization_tags": [], "locale": "fr", "last_edit": "2016-01-31T18:46:45", "review_tags": []}, {"title": "attr", "url": "/ja/docs/Web/CSS/attr", "tags": ["CSS", "CSS Reference", "css"], "summary": "CSS \u306e attr()
\u5f0f\u306f\u9078\u629e\u8981\u7d20\u306e\u5c5e\u6027\u5024\u3092\u53d6\u5f97\u3057\u3001\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3067\u305d\u308c\u3092\u4f7f\u3046\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002\u64ec\u4f3c\u8981\u7d20\u3067\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u3001\u3053\u306e\u5834\u5408\u3001\u64ec\u4f3c\u8981\u7d20\u3092\u4f5c\u308b\u5143\u306b\u306a\u3063\u305f\u8981\u7d20\u306e\u5c5e\u6027\u5024\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-01-28T19:43:59", "review_tags": []}, {"title": "attr", "url": "/de/docs/Web/CSS/attr", "tags": ["css", "CSS Funktion", "CSS", "Referenz", "Web", "Layout"], "summary": "Die attr()
CSS Funktion wird verwendet, um einen Wert eines Attributs des ausgew\u00e4hlten Elements abzurufen und innerhalb des Stylesheets zu verwenden. Sie kann auch f\u00fcr Pseudoelemente verwendet werden. In diesem Fall wird der Wert des Attributs seines urspr\u00fcnglichen Elements zur\u00fcckgegeben.", "localization_tags": [], "locale": "de", "last_edit": "2016-01-28T19:45:20", "review_tags": []}, {"title": "attr", "url": "/es/docs/Web/CSS/attr", "tags": [], "summary": "La funci\u00f3n attr()
de CSS se usa para recuperar el valor de un atributo del elemento seleccionado y usarlo en la hoja de estilos. Se puede usar tambi\u00e9n en un pseudo-elemento y, en este caso, el valor del atributo en el elemento originado del pseudo-elemento es devuelto.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-01-28T19:44:44", "review_tags": []}, {"title": "attr", "url": "/zh-TW/docs/Web/CSS/attr", "tags": [], "summary": "attr()
CSS \u51fd\u6578\u4f7f\u7528\u65bc\u6a23\u5f0f\u8868\u4e2d\uff0c\u7528\u4f86\u53d6\u5f97\u88ab\u9078\u53d6\u4e4b\u5143\u7d20\u4e2d\u7279\u5b9a\u5c6c\u6027\u7684\u503c\u3002\u5b83\u4e5f\u53ef\u4ee5\u7528\u5728\u64ec\u5143\u7d20\u9078\u53d6\u9805(Pseudo-element)\uff0c\u5728\u6b64\u60c5\u5f62\u4e0b\uff0c\u5176\u5c6c\u6027\u503c\u4f86\u81ea\u65bc\u64ec\u5143\u7d20\u9078\u53d6\u9805\u76f8\u4f9d\u7684\u539f\u59cb\u5143\u7d20\u3002", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2016-01-28T19:43:33", "review_tags": []}], "modified": "2016-02-02T22:13:41", "label": "attr", "localization_tags": [], "url": "/zh-CN/docs/Web/CSS/attr", "last_edit": "2016-02-02T22:13:35", "summary": "CSS\u8868\u8fbe\u5f0f\u00a0attr()
\u00a0\u7528\u6765\u83b7\u53d6\u9009\u62e9\u5230\u7684\u5143\u7d20\u7684\u67d0\u4e00HTML\u5c5e\u6027\u503c\uff0c\u5e76\u7528\u4e8e\u5176\u6837\u5f0f\u3002\u5b83\u4e5f\u53ef\u4ee5\u7528\u4e8e\u4f2a\u5143\u7d20\uff0c\u5c5e\u6027\u503c\u91c7\u7528\u4f2a\u5143\u7d20\u6240\u4f9d\u9644\u7684\u5143\u7d20\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": "\u6982\u8ff0", "title": "\u6982\u8ff0"}, {"id": "\u7528\u6cd5", "title": "\u7528\u6cd5"}, {"id": "\u89e3\u91ca", "title": "\u89e3\u91ca"}, {"id": "\u793a\u4f8b", "title": "\u793a\u4f8b"}, {"id": "\u7ed3\u679c", "title": "\u7ed3\u679c"}, {"id": "Specifications", "title": "\u89c4\u8303"}, {"id": "\u6d4f\u89c8\u5668\u652f\u6301", "title": "\u6d4f\u89c8\u5668\u652f\u6301"}], "id": 80521, "review_tags": []}