diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-10-20 00:16:38 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-06 22:18:30 +0900 |
commit | 3da96df7e2f6144ee6106f381af4dc9f71aa2cb1 (patch) | |
tree | 32300dc1791bb9195df0ee550a829b4e475f1426 /files/ja/web/svg/attribute/styling | |
parent | c2d1b8b56c5a9f45f5ea9f5471c87d1b904f9087 (diff) | |
download | translated-content-3da96df7e2f6144ee6106f381af4dc9f71aa2cb1.tar.gz translated-content-3da96df7e2f6144ee6106f381af4dc9f71aa2cb1.tar.bz2 translated-content-3da96df7e2f6144ee6106f381af4dc9f71aa2cb1.zip |
SVG 属性の説明の一部を新規翻訳
- 2021/10/19 時点の英語版に基づき新規翻訳
Diffstat (limited to 'files/ja/web/svg/attribute/styling')
-rw-r--r-- | files/ja/web/svg/attribute/styling/index.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/files/ja/web/svg/attribute/styling/index.md b/files/ja/web/svg/attribute/styling/index.md new file mode 100644 index 0000000000..a30dc9e27a --- /dev/null +++ b/files/ja/web/svg/attribute/styling/index.md @@ -0,0 +1,28 @@ +--- +title: SVG スタイル付け属性 +slug: Web/SVG/Attribute/Styling +tags: + - 属性 + - 初心者 + - NeedsExample + - リファレンス + - SVG +browser-compat: svg.attributes.style +--- +SVG のスタイル付け属性は、CSS スタイリング効果を適用するために任意の SVG 要素に指定できるすべての属性です。 + +* [`class`](#attr-class) +* [`style`](#attr-style) + +## 属性 + +* {{SVGAttr('class')}} + * : 要素に 1 つまたは複数のクラス名を割り当てます。HTML の {{htmlattrxref('class')}} 属性と同様の機能を持ちます。 + *値*: 任意の ID 文字列、*アニメーション*: **可** +* {{SVGAttr('style')}} + * : その要素のスタイル情報を指定します。HTML の {{htmlattrxref('style')}} 属性と同様の機能を持ちます。 + *値*: 任意のスタイル文字列、*アニメーション*: **不可** + +## ブラウザーの互換性 + +{{Compat}} |