{"json_modified": "2016-10-17T11:13:54.635351", "uuid": "5ec0c962-4075-4c34-9ff7-135ebfca83a0", "title": "Using CSS variables", "url": "/en-US/docs/Web/CSS/Using_CSS_variables", "tags": ["CSS", "Web", "CSS Variables", "Guide"], "translations": [{"uuid": "6e6f91cd-7cf3-494f-ae8d-00340d7fb866", "title": "Les variables CSS", "url": "/fr/docs/Web/CSS/Les_variables_CSS", "tags": ["CSS", "Web", "Guide"], "summary": "Les variables CSS\u00a0sont des entit\u00e9s d\u00e9finies par les\u00a0d\u00e9veloppeurs ou les\u00a0utilisateurs d'une page Web, contenant des valeurs sp\u00e9cifiques utilisables \u00e0 travers le document. Elles sont initialis\u00e9es avec des propri\u00e9t\u00e9s personnalis\u00e9es et accessibles en utilisant la notation sp\u00e9cifique var()
.", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-07T09:33:46", "review_tags": []}, {"uuid": "3e855696-0d6d-4b59-a255-5de278830d1b", "title": "CSS\u306e\u5909\u6570\u3092\u4f7f\u3046", "url": "/ja/docs/Web/CSS/Using_CSS_variables", "tags": ["CSS", "Web", "CSS Variables", "Guide"], "summary": "CSS \u5909\u6570\u306f\u3001CSS \u4f5c\u8005\u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5168\u4f53\u3067\u518d\u5229\u7528\u53ef\u80fd\u306a\u7279\u5b9a\u306e\u5024\u3092\u542b\u3080\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3067\u3059\u3002\u305d\u308c\u3089\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u8a18\u6cd5\uff08\u305f\u3068\u3048\u3070\u3001--main-color: black;
\uff09\u306b\u3088\u3063\u3066\u8a2d\u5b9a\u3057\u3001var()
\u95a2\u6570\uff08\u305f\u3068\u3048\u3070\u3001color: var(--main-color);
\uff09\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-08-13T04:51:36", "review_tags": []}, {"uuid": "a265551d-0808-443b-a350-2339f5a16b17", "title": "U\u017cycie zmiennych CSS", "url": "/pl/docs/Web/CSS/Uzycie_zmiennych_CSS", "tags": [], "summary": "Zmienne CSS to zdefiniowane jednostki zawieraj\u0105ce specyficzne warto\u015bci, reu\u017cywalne w ca\u0142ym dokumencie. Zmienne s\u0105\u00a0ustawiane\u00a0przy u\u017cyciu\u00a0notacji\u00a0w\u0142a\u015bciwo\u015bci\u00a0niestandardowych (np. --kolor-glowny: black;
)\u00a0i maj\u0105 dost\u0119p do funkcji\u00a0var() (np. kolor: var(--kolor-glowny);
)\u00a0.", "localization_tags": [], "locale": "pl", "last_edit": "2016-10-17T11:13:48", "review_tags": []}, {"uuid": "6d7c7184-41a9-4b42-8dd3-b5b6d22464b6", "title": "Utilizando vari\u00e1veis CSS", "url": "/pt-BR/docs/Web/CSS/Using_CSS_variables", "tags": [], "summary": "Vari\u00e1veis CSS s\u00e3o entidades definidas por autores ou usu\u00e1rios de p\u00e1ginas web que cont\u00eam valores espec\u00edficos em um documento. Estas s\u00e3o definidas usando propriedades customizadas e s\u00e3o acessadas utilizando uma nota\u00e7\u00e3o funcional espec\u00edfica, var()
.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-01-13T07:56:53", "review_tags": []}, {"uuid": "46a1bfce-a3a6-41b1-ab33-0330f9fa1d28", "title": "\u4f7f\u7528CSS\u53d8\u91cf", "url": "/zh-CN/docs/Web/CSS/Using_CSS_variables", "tags": [], "summary": "CSS \u53d8\u91cf\u662f\u7531\u7f51\u9875\u7684\u4f5c\u8005\u6216\u7528\u6237\u5b9a\u4e49\u7684\u5b9e\u4f53\uff0c\u7528\u6765\u6307\u5b9a\u6587\u6863\u4e2d\u7684\u7279\u5b9a\u53d8\u91cf\u3002\u4f7f\u7528\u81ea\u5b9a\u4e49\u5c5e\u6027\u6765\u8bbe\u7f6e\u53d8\u91cf\u540d\uff0c\u5e76\u4f7f\u7528\u7279\u5b9a\u7684 var() \u6765\u8bbf\u95ee\u3002\uff08\u6bd4\u5982 color:var(--main-color);\uff09\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-08-16T18:46:21", "review_tags": ["technical"]}], "modified": "2016-10-07T08:59:10", "label": "Using CSS variables", "localization_tags": [], "locale": "en-US", "id": 58103, "last_edit": "2016-10-07T08:59:05", "summary": "CSS Variables are entities defined by CSS\u00a0authors which\u00a0contain specific values to be reused\u00a0throughout a document. They are set using custom property notation (e.g. --main-color: black;
)\u00a0and are accessed using the var()
function\u00a0(e.g. color: var(--main-color);
)\u00a0.", "sections": [{"id": "Basic_usage", "title": "Basic usage"}, {"id": "First_steps_with_CSS_Variables", "title": "First steps with CSS Variables"}, {"id": "Inheritance_of_CSS_Variables", "title": "Inheritance of CSS Variables"}, {"id": "Validity_and_values", "title": "Validity and values"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}], "slug": "Web/CSS/Using_CSS_variables", "review_tags": []}