diff options
| author | Florian Dieminger <me@fiji-flo.de> | 2021-02-11 18:29:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-11 18:29:51 +0100 |
| commit | 2bc5610921312613f8623f7ed347aa576689b2b6 (patch) | |
| tree | f17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/web/svg/attribute/styling/index.html | |
| parent | 964decad361766e85d928a56f0ab80af0e75c172 (diff) | |
| parent | fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff) | |
| download | translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2 translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip | |
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/web/svg/attribute/styling/index.html')
| -rw-r--r-- | files/zh-cn/web/svg/attribute/styling/index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/files/zh-cn/web/svg/attribute/styling/index.html b/files/zh-cn/web/svg/attribute/styling/index.html new file mode 100644 index 0000000000..827a474ca3 --- /dev/null +++ b/files/zh-cn/web/svg/attribute/styling/index.html @@ -0,0 +1,33 @@ +--- +title: SVG样式属性 +slug: Web/SVG/Attribute/Styling +translation_of: Web/SVG/Attribute/Styling +original_slug: Web/SVG/Attribute/样式 +--- +<p>SVG样式属性是所有可以在任何SVG元素上指定以应用CSS样式效果的属性。</p> + +<div class="index"> +<ul> + <li><a href="#attr-class"><code>class</code></a></li> + <li><a href="#attr-style"><code>style</code></a></li> +</ul> +</div> + +<h2 id="属性">属性</h2> + +<dl> + <dt id="attr-class">{{SVGAttr('class')}}</dt> + <dd>给一个元素分配一个类名称或者设置类名。它跟 HTML中的{{htmlattrxref('class')}}属性具有同样的功能。<br> + <small><em>Value</em>: 任何可用的ID字符; <em>Animatable</em>: <strong>Yes</strong></small></dd> + <dt id="attr-style">{{SVGAttr('style')}}</dt> + <dd>它指定元素的样式信息。它跟HTML中 {{htmlattrxref('style')}}属性具有相同的功能。<br> + <small><em>Value</em>:任何可用的ID字符; <em>Animatable</em>: <strong>No</strong></small> + <p> </p> + </dd> +</dl> + +<h2 id="浏览器支持">浏览器支持</h2> + +<div class="hidden">此页面上的兼容性表有结构化数据产生。如果你想贡献数据,请查看<a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> 和发送给我们一个请求。</div> + +<p>{{Compat("svg.attributes.style")}}</p> |
