aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-10-14 00:57:05 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2021-10-22 15:07:25 +0900
commit991da9bf0975e595f7cc584cdf2ea6cb8a14b7ad (patch)
tree7b4c7e45df2ea42ac54eb81d4d5bce9b7ef6d494
parent3ac2a8d84ed0236cca327f5c3e58a3be850c8139 (diff)
downloadtranslated-content-991da9bf0975e595f7cc584cdf2ea6cb8a14b7ad.tar.gz
translated-content-991da9bf0975e595f7cc584cdf2ea6cb8a14b7ad.tar.bz2
translated-content-991da9bf0975e595f7cc584cdf2ea6cb8a14b7ad.zip
CSS 変換の各ページの変換準備
-rw-r--r--files/ja/web/css/backface-visibility/index.md (renamed from files/ja/web/css/backface-visibility/index.html)34
-rw-r--r--files/ja/web/css/css_transforms/index.md83
-rw-r--r--files/ja/web/css/css_transforms/using_css_transforms/index.html89
-rw-r--r--files/ja/web/css/css_transforms/using_css_transforms/index.md85
-rw-r--r--files/ja/web/css/css_transforms/using_css_transforms/logo.pngbin0 -> 5238 bytes
-rw-r--r--files/ja/web/css/perspective-origin/index.md (renamed from files/ja/web/css/perspective-origin/index.html)42
-rw-r--r--files/ja/web/css/perspective/index.md (renamed from files/ja/web/css/perspective/index.html)40
-rw-r--r--files/ja/web/css/rotate/index.md (renamed from files/ja/web/css/rotate/index.html)28
-rw-r--r--files/ja/web/css/scale/index.md (renamed from files/ja/web/css/scale/index.html)32
-rw-r--r--files/ja/web/css/transform-origin/index.md (renamed from files/ja/web/css/transform-origin/index.html)122
-rw-r--r--files/ja/web/css/transform-style/index.md (renamed from files/ja/web/css/transform-style/index.html)36
-rw-r--r--files/ja/web/css/transform/index.html150
-rw-r--r--files/ja/web/css/transform/index.md148
-rw-r--r--files/ja/web/css/translate/index.html119
-rw-r--r--files/ja/web/css/translate/index.md117
15 files changed, 538 insertions, 587 deletions
diff --git a/files/ja/web/css/backface-visibility/index.html b/files/ja/web/css/backface-visibility/index.md
index 5a62aec121..d7d06cb00f 100644
--- a/files/ja/web/css/backface-visibility/index.html
+++ b/files/ja/web/css/backface-visibility/index.md
@@ -9,15 +9,15 @@ tags:
- 'recipe:css-property'
translation_of: Web/CSS/backface-visibility
---
-<div>{{CSSRef}}</div>
+{{CSSRef}}
-<p><strong><code>backface-visibility</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、要素がユーザーに対して裏側を向いたときに、裏面を可視にするかどうかを設定します。</p>
+**`backface-visibility`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素がユーザーに対して裏側を向いたときに、裏面を可視にするかどうかを設定します。
-<div>{{EmbedInteractiveExample("pages/css/backface-visibility.html")}}</div>
+{{EmbedInteractiveExample("pages/css/backface-visibility.html")}}
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
+<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 [https://github.com/mdn/interactive-examples](https://github.com/mdn/interactive-examples) をクローンしてプルリクエストを送信してください。</p>
-<p>要素の裏面は表面の鏡像です。裏面は二次元では可視ではありませんが、三次元空間で要素に回転の変換が行われたときに、背面を見ることができます。 (このプロパティは、遠近感を持たない二次元の変換では効果がありません。)</p>
+要素の裏面は表面の鏡像です。裏面は二次元では可視ではありませんが、三次元空間で要素に回転の変換が行われたときに、背面を見ることができます。 (このプロパティは、遠近感を持たない二次元の変換では効果がありません。)
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -30,20 +30,18 @@ backface-visibility: inherit;
backface-visibility: initial;
backface-visibility: unset;</pre>
-<p><code>backface-visibility</code> プロパティは、以下に挙げたキーワードのうちの一つで指定します。</p>
+`backface-visibility` プロパティは、以下に挙げたキーワードのうちの一つで指定します。
<h3 id="Values" name="Values">値</h3>
-<dl>
- <dt><code>visible</code></dt>
- <dd>ユーザーに対して裏を向いたとき、背面が可視になります。</dd>
- <dt><code>hidden</code></dt>
- <dd>背面が非表示になり、要素がユーザーに対して反対を向いたときに不可視にするのに便利です。</dd>
-</dl>
+- `visible`
+ - : ユーザーに対して裏を向いたとき、背面が可視になります。
+- `hidden`
+ - : 背面が非表示になり、要素がユーザーに対して反対を向いたときに不可視にするのに便利です。
<h2 id="Formal_definition" name="Formal_definition">公式定義</h2>
-<p>{{cssinfo}}</p>
+{{cssinfo}}
<h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2>
@@ -53,7 +51,7 @@ backface-visibility: unset;</pre>
<h3 id="Cube_with_transparent_and_opaque_faces" name="Cube_with_transparent_and_opaque_faces">透明な面と不透明な面を持った立方体</h3>
-<p>この例は、透明な面と不透明な面を持つ立方体を表示します。</p>
+この例は、透明な面と不透明な面を持つ立方体を表示します。
<h4 id="HTML">HTML</h4>
@@ -181,7 +179,7 @@ th, p, td {
<h4 id="Result" name="Result">結果</h4>
-<p>{{EmbedLiveSample('Cube_with_transparent_and_opaque_faces', '100%', 360)}}</p>
+{{EmbedLiveSample('Cube_with_transparent_and_opaque_faces', '100%', 360)}}
<h2 id="Specifications" name="Specifications">仕様書</h2>
@@ -204,10 +202,10 @@ th, p, td {
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
-<p>{{Compat("css.properties.backface-visibility")}}</p>
+{{Compat("css.properties.backface-visibility")}}
-<h2 id="See_also" name="See_also">関連情報</h2>
+## 関連情報
<ul>
- <li><a href="/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms">CSS 変形の使用</a></li>
+ <li>[CSS 変形の使用](/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms)</li>
</ul>
diff --git a/files/ja/web/css/css_transforms/index.md b/files/ja/web/css/css_transforms/index.md
index 55de83ba04..c9cc0fd07a 100644
--- a/files/ja/web/css/css_transforms/index.md
+++ b/files/ja/web/css/css_transforms/index.md
@@ -1,72 +1,45 @@
---
-title: CSS 変形
+title: CSS 変換
slug: Web/CSS/CSS_Transforms
tags:
- CSS
- - CSS Transforms
- - Guide
- - Overview
+ - CSS 変換
+ - ガイド
+ - 概要
- Reference
translation_of: Web/CSS/CSS_Transforms
---
-<div>{{CSSRef}}</div>
+{{CSSRef}}
-<p><ruby><strong>CSS 変形</strong><rp> (</rp><rt>CSS Transforms</rt><rp>) </rp></ruby>は CSS のモジュールの一つで、 CSS でスタイル付けされた要素をどのように二次元または三次元空間に変形できるかを定義します。</p>
+**CSS 変換** (CSS Transforms) は CSS のモジュールの一つで、 CSS でスタイル付けされた要素をどのように二次元または三次元空間に変換できるかを定義します。
-<h2 id="Reference" name="Reference">リファレンス</h2>
+## リファレンス
-<h3 id="Properties" name="Properties">プロパティ</h3>
+### プロパティ
-<div class="index">
-<ul>
- <li>{{cssxref("backface-visibility")}}</li>
- <li>{{cssxref("perspective")}}</li>
- <li>{{cssxref("perspective-origin")}}</li>
- <li>{{cssxref("rotate")}}</li>
- <li>{{cssxref("scale")}}</li>
- <li>{{cssxref("transform")}}</li>
- <li>{{cssxref("transform-box")}}</li>
- <li>{{cssxref("transform-origin")}}</li>
- <li>{{cssxref("transform-style")}}</li>
- <li>{{cssxref("translate")}}</li>
-</ul>
-</div>
+- {{cssxref("backface-visibility")}}
+- {{cssxref("perspective")}}
+- {{cssxref("perspective-origin")}}
+- {{cssxref("rotate")}}
+- {{cssxref("scale")}}
+- {{cssxref("transform")}}
+- {{cssxref("transform-box")}}
+- {{cssxref("transform-origin")}}
+- {{cssxref("transform-style")}}
+- {{cssxref("translate")}}
-<h3 id="Data_types" name="Data_types">データ型</h3>
+## データ型
-<div class="index">
-<ul>
- <li>{{cssxref("&lt;transform-function&gt;")}}</li>
-</ul>
-</div>
+- {{cssxref("&lt;transform-function&gt;")}}
-<h2 id="Guides" name="Guides">ガイド</h2>
+## ガイド
-<dl>
- <dt><a href="/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms">CSS 変形の利用</a></dt>
- <dd>CSS でスタイル付けされた要素をどのように変形するかについての手順を追ったチュートリアルです。</dd>
-</dl>
+- [CSS 変換の利用](/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms)
+ - : CSS でスタイル付けされた要素をどのように変換するかについての手順を追ったチュートリアルです。
-<h2 id="Specifications" name="Specifications">仕様書</h2>
+## 仕様書
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{ SpecName('CSS Transforms 2') }}</td>
- <td>{{ Spec2('CSS Transforms 2') }}</td>
- <td>独立した変形を追加。</td>
- </tr>
- <tr>
- <td>{{ SpecName('CSS3 Transforms') }}</td>
- <td>{{ Spec2('CSS3 Transforms') }}</td>
- <td>初回定義</td>
- </tr>
- </tbody>
-</table>
+| 仕様書 | 状態 | 備考 |
+| ---------------------------------- | ------------------------------- | ------------------ |
+| {{ SpecName('CSS Transforms 2') }} | {{ Spec2('CSS Transforms 2') }} | 独立した変換を追加 |
+| {{ SpecName('CSS3 Transforms') }} | {{ Spec2('CSS3 Transforms') }} | 初回定義 |
diff --git a/files/ja/web/css/css_transforms/using_css_transforms/index.html b/files/ja/web/css/css_transforms/using_css_transforms/index.html
deleted file mode 100644
index 605a005836..0000000000
--- a/files/ja/web/css/css_transforms/using_css_transforms/index.html
+++ /dev/null
@@ -1,89 +0,0 @@
----
-title: CSS 変形の使用
-slug: Web/CSS/CSS_Transforms/Using_CSS_transforms
-tags:
- - 3D
- - Advanced
- - CSS
- - CSS Transforms
- - Graphics
- - Guide
- - Rotate
- - Scale
- - Scaling
- - perspective
- - rotation
-translation_of: Web/CSS/CSS_Transforms/Using_CSS_transforms
----
-<div>{{CSSRef}}</div>
-
-<p>座標空間を編集することで、 <strong>CSS 変形</strong> (transform) は通常のフロー処理を混乱させずに、影響下にあるコンテンツの位置を変えることができます。このガイドは変形の使用についての解説を行ないます。</p>
-
-<p>CSS 変形は、アフィン線形変換を HTML 要素に対して適用する一連の CSS プロパティによって実現されます。変形には回転 (rotation)、傾斜 (skewing)、拡大縮小 (scaling)、平行移動 (translation) が含まれており、二次元と三次元空間の両方の平行移動 (translation) があります。</p>
-
-<div class="warning">
-<p><a href="/ja/docs/Web/CSS/CSS_Box_Model">ボックスモデル</a>によって配置された要素のみが <code>transform</code> を実行できます。言うまでもなく、 <code>display: block</code> である要素がボックスモデルで配置されます。</p>
-</div>
-
-<h2 id="CSS_transforms_properties" name="CSS_transforms_properties">CSS 変形のプロパティ</h2>
-
-<p>CSS 変形の定義に使われる重要なプロパティが 2 つあります。 {{cssxref("transform")}} と {{cssxref("transform-origin")}} です。</p>
-
-<dl>
- <dt>{{cssxref("transform-origin")}}</dt>
- <dd>原点位置を指定します。既定では、これは要素の中央ですが、移動することができます。回転、拡大縮小や傾斜など決まった点が引数として必要な変形で使用されれます。</dd>
- <dt>{{cssxref("transform")}}</dt>
- <dd>要素に適用する変形を指定します。変形の空白区切りのリストで、合成操作の要求された順番で適用されます。変換の合成は右から左の順に適用されます。</dd>
-</dl>
-
-<h2 id="Examples" name="Examples">例</h2>
-
-<p>これが変形前の MDN ロゴの画像です。</p>
-
-<p><img alt="MDN ロゴ" src="https://mdn.mozillademos.org/files/12539/Screen%20Shot%202016-02-16%20at%2015.53.54.png" style="height: 106px; width: 110px;"></p>
-
-<h3 id="Rotating" name="Rotating">回転</h3>
-
-<p>ここでは MDN ロゴを、左下の角から90度回転させます。</p>
-
-<pre class="brush: html notranslate">&lt;img style="transform: rotate(90deg);
- transform-origin: bottom left;"
- src="https://mdn.mozillademos.org/files/12539/Screen%20Shot%202016-02-16%20at%2015.53.54.png"&gt;
-</pre>
-
-<p>{{EmbedLiveSample('Rotating', 'auto', 240) }}</p>
-
-<h3 id="Skewing_and_translating" name="Skewing_and_translating">傾斜と平行移動</h3>
-
-<p>この例は div 要素を10度傾斜させ、 X 軸に沿って 150 ピクセル平行移動します。</p>
-
-<pre class="brush: html notranslate">&lt;img style="transform: skewx(10deg) translatex(150px);
- transform-origin: bottom left;"
- src="https://mdn.mozillademos.org/files/12539/Screen%20Shot%202016-02-16%20at%2015.53.54.png"&gt;
-</pre>
-
-<p>{{EmbedLiveSample('Skewing_and_translating') }}</p>
-
-<h2 id="3D_specific_CSS_properties" name="3D_specific_CSS_properties">3D 特有の CSS プロパティ</h2>
-
-<p>立体空間で CSS 変形 を行うのは、もう少し複雑になります。遠近感を与えて 3D 空間の環境設定を行うことから始める必要があり、それから 2D の要素がその空間でとる挙動を設定しなければなりません。</p>
-
-<h3 id="Perspective" name="Perspective">遠近感</h3>
-
-<p>設定する最初の要素は遠近感 (perspective) です。遠近感は 3D の印象を与えるものです。見る人から遠ざかるほど、ものが小さくなります。</p>
-
-<p>{{page("/ja/docs/Web/CSS/perspective", "Setting perspective", 0, 0, 3)}}</p>
-
-<p>二つ目の設定要素は見る人の位置で、 {{cssxref("perspective-origin")}} プロパティを使います。既定では遠近感は見る人の中央に合わせられますが、いつも妥当であるとは限りません。</p>
-
-<p>{{page("/ja/docs/Web/CSS/perspective-origin", "Changing the perspective origin", 0, 0, 3)}}</p>
-
-<p>ここまで完了すれば、 3D 空間で要素に働きかけることができます。</p>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li><a href="/ja/docs/Web/Guide/Events/Using_device_orientation_with_3D_transforms" title="Using Deviceorientation with 3D Transforms">端末の向きと 3D 変形の併用</a></li>
- <li><a href="http://desandro.github.com/3dtransforms/">Intro to CSS 3D transforms</a> (David DeSandro によるブログ記事)</li>
- <li><a href="https://css-transform.moro.es/">CSS Transform Playground</a> (CSS 変形機能を視覚化するオンラインツール)</li>
-</ul>
diff --git a/files/ja/web/css/css_transforms/using_css_transforms/index.md b/files/ja/web/css/css_transforms/using_css_transforms/index.md
new file mode 100644
index 0000000000..7ebaeeb3c3
--- /dev/null
+++ b/files/ja/web/css/css_transforms/using_css_transforms/index.md
@@ -0,0 +1,85 @@
+---
+title: CSS 変換の使用
+slug: Web/CSS/CSS_Transforms/Using_CSS_transforms
+tags:
+ - 3D
+ - Advanced
+ - CSS
+ - CSS Transforms
+ - Graphics
+ - ガイド
+ - Rotate
+ - Scale
+ - Scaling
+ - perspective
+ - rotation
+translation_of: Web/CSS/CSS_Transforms/Using_CSS_transforms
+---
+{{CSSRef}}
+
+**CSS 変換** (transform) は、座標空間を編集することで、通常のフロー処理を混乱させずに影響下にあるコンテンツの形状や位置を変えることができます。このガイドは変換の使用についての解説を行ないます。
+
+CSS 変換は、アフィン線形変換を HTML 要素に対して適用する一連の CSS プロパティによって実現されます。変換には、二次元と三次元空間の両方について回転 (rotation)、傾斜 (skewing)、拡大縮小 (scaling)、平行移動 (translation) があります。
+
+> **Warning:** [ボックスモデル](/ja/docs/Web/CSS/CSS_Box_Model)によって配置された要素に対してのみ `transform` を実行することができます。言うまでもなく、 `display: block` である要素がボックスモデルで配置されます。
+
+## CSS 変換のプロパティ
+
+CSS 変換の定義に使われる重要なプロパティが 2 つあります。 {{cssxref("transform")}} と {{cssxref("transform-origin")}} です。
+
+- {{cssxref("transform-origin")}}
+ - : 原点位置を指定します。既定では、これは要素の中央ですが、移動することができます。回転、拡大縮小や傾斜など決まった点が引数として必要な変換で使用されれます。
+- {{cssxref("transform")}}
+ - : 要素に適用する変換を指定します。変換の空白区切りのリストで、合成操作の要求された順番で適用されます。変換の合成は右から左の順に適用されます。
+
+## 例
+
+これが変換前の MDN ロゴの画像です。
+
+![MDN ロゴ](logo.png)
+
+<h3 id="Rotating">回転</h3>
+
+ここでは MDN ロゴを、左下の角から 90 度回転させます。
+
+```html
+<img style="transform: rotate(90deg);
+ transform-origin: bottom left;"
+ src="logo.png">
+```
+
+{{EmbedLiveSample('Rotating', 'auto', 240) }}
+
+<h3 id="Skewing_and_translating">傾斜と平行移動</h3>
+
+この例は div 要素を 10 度傾斜させ、 X 軸に沿って 150 ピクセル平行移動します。
+
+```html
+<img style="transform: skewx(10deg) translatex(150px);
+ transform-origin: bottom left;"
+ src="logo.png">
+```
+
+{{EmbedLiveSample('Skewing_and_translating') }}
+
+## 3D 特有の CSS プロパティ
+
+立体空間で CSS 変換 を行うのは、もう少し複雑になります。遠近感を与えて 3D 空間の環境設定を行うことから始める必要があり、それから 2D の要素がその空間でとる挙動を設定しなければなりません。
+
+<h3 id="Perspective">遠近感</h3>
+
+設定する最初の要素は遠近感 (perspective) です。遠近感は 3D の印象を与えるものです。見る人から遠ざかるほど、ものが小さくなります。
+
+{{page("/ja/docs/Web/CSS/perspective", "Setting perspective", 0, 0, 3)}}
+
+二つ目の設定要素は見る人の位置で、 {{cssxref("perspective-origin")}} プロパティを使います。既定では遠近感は見る人の中央に合わせられますが、いつも妥当であるとは限りません。
+
+{{page("/ja/docs/Web/CSS/perspective-origin", "Changing the perspective origin", 0, 0, 3)}}
+
+ここまで行えば、 3D 空間に要素を配置することができます。
+
+## 関連情報
+
+- [端末の向きと 3D 変換の併用](/ja/docs/Web/Events/Using_device_orientation_with_3D_transforms)
+- [Intro to CSS 3D transforms](http://desandro.github.com/3dtransforms/) (David DeSandro によるブログ記事)
+- [CSS Transform Playground](https://css-transform.moro.es/) (CSS 変換機能を視覚化するオンラインツール)
diff --git a/files/ja/web/css/css_transforms/using_css_transforms/logo.png b/files/ja/web/css/css_transforms/using_css_transforms/logo.png
new file mode 100644
index 0000000000..d0e4f1d55b
--- /dev/null
+++ b/files/ja/web/css/css_transforms/using_css_transforms/logo.png
Binary files differ
diff --git a/files/ja/web/css/perspective-origin/index.html b/files/ja/web/css/perspective-origin/index.md
index fce5d7669e..24882d444e 100644
--- a/files/ja/web/css/perspective-origin/index.html
+++ b/files/ja/web/css/perspective-origin/index.md
@@ -11,15 +11,15 @@ tags:
- リファレンス
translation_of: Web/CSS/perspective-origin
---
-<div>{{CSSRef}}</div>
+{{CSSRef}}
-<p><a href="/ja/docs/Web/CSS">CSS</a> の <strong><code>perspective-origin</code></strong> プロパティは、閲覧者の視点の位置を決めます。これは {{cssxref("perspective")}} プロパティによって<em>消失点</em>として使われます。</p>
+[CSS](/ja/docs/Web/CSS) の **`perspective-origin`** プロパティは、閲覧者の視点の位置を決めます。これは {{cssxref("perspective")}} プロパティによって<em>消失点</em>として使われます。
-<div>{{EmbedInteractiveExample("pages/css/perspective-origin.html")}}</div>
+{{EmbedInteractiveExample("pages/css/perspective-origin.html")}}
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
+<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 [https://github.com/mdn/interactive-examples](https://github.com/mdn/interactive-examples) をクローンしてプルリクエストを送信してください。</p>
-<p><strong><code>perspective-origin</code></strong> および {{cssxref('perspective')}} の各プロパティは、三次元空間で変換される子の親に設定するものであり、変換される要素に設定される {{cssxref("transform-function/perspective", "perspective()")}} 変換関数とは異なります。</p>
+**`perspective-origin`** および {{cssxref('perspective')}} の各プロパティは、三次元空間で変換される子の親に設定するものであり、変換される要素に設定される {{cssxref("transform-function/perspective", "perspective()")}} 変換関数とは異なります。
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -41,26 +41,24 @@ perspective-origin: unset;
<h3 id="Values" name="Values">値</h3>
-<dl>
- <dt><em>x-position</em></dt>
+- <em>x-position</em>
<dd><em>消失点</em>の横座標上の位置を示します。次のいずれかの値です。
<ul>
<li>{{cssxref("&lt;length-percentage&gt;")}} は、絶対的な length 値、又は要素の幅に対する相対値で位置を示します。負の数も使えます。</li>
- <li><code>left</code> キーワードは、 length 値 <code>0</code> を示すショートカットです。</li>
- <li><code>center</code> キーワードは、パーセント値 <code>50%</code> を示すショートカットです。</li>
- <li><code>right</code> キーワードは、パーセント値 <code>100%</code> を示すショートカットです。</li>
+ <li>`left` キーワードは、 length 値 `0` を示すショートカットです。</li>
+ <li>`center` キーワードは、パーセント値 `50%` を示すショートカットです。</li>
+ <li>`right` キーワードは、パーセント値 `100%` を示すショートカットです。</li>
</ul>
</dd>
- <dt><em>y-position</em></dt>
+- <em>y-position</em>
<dd><em>消失点</em>の縦座標上の位置を示します。次のいずれかの値です。
<ul>
<li>{{cssxref("&lt;length&gt;")}} は、絶対的な length 値、又は要素の高さに対する相対値で位置を示します。負の数も使えます。</li>
- <li><code>top</code> キーワードは、 length 値 <code>0</code> を示すショートカットです。</li>
- <li><code>center</code> キーワードは、パーセント値 <code>50%</code> を示すショートカットです。</li>
- <li><code>bottom</code> キーワードは、パーセント値 <code>100%</code> を示すキーワードです。</li>
+ <li>`top` キーワードは、 length 値 `0` を示すショートカットです。</li>
+ <li>`center` キーワードは、パーセント値 `50%` を示すショートカットです。</li>
+ <li>`bottom` キーワードは、パーセント値 `100%` を示すキーワードです。</li>
</ul>
</dd>
-</dl>
<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
@@ -70,11 +68,11 @@ perspective-origin: unset;
<h3 id="Changing_the_perspective_origin" name="Changing_the_perspective_origin">視点の変更</h3>
-<p>この例は主要な <code>perspective-origin</code> 値で立方体を表示します。</p>
+この例は主要な `perspective-origin` 値で立方体を表示します。
<h4 id="Result" name="Result">結果</h4>
-<p>{{EmbedLiveSample('Changing_the_perspective_origin', '100%', 700)}}</p>
+{{EmbedLiveSample('Changing_the_perspective_origin', '100%', 700)}}
<h4 id="HTML">HTML</h4>
@@ -374,20 +372,20 @@ section {
</tbody>
</table>
-<p>{{cssinfo}}</p>
+{{cssinfo}}
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
<div>
-<p>{{Compat("css.properties.perspective-origin")}}</p>
+{{Compat("css.properties.perspective-origin")}}
</div>
-<h2 id="See_also" name="See_also">関連情報</h2>
+## 関連情報
<ul>
- <li><a href="/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms">CSS 変形の利用</a></li>
+ <li>[CSS 変形の利用](/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms)</li>
<li>{{cssxref('transform-style')}}</li>
<li>{{cssxref('transform-function')}}</li>
<li>{{cssxref('perspective')}}</li>
- <li><code><a href="/ja/docs/Web/CSS/transform-function/perspective">transform: perspective()</a></code> 関数</li>
+ <li>`[transform: perspective()](/ja/docs/Web/CSS/transform-function/perspective)` 関数</li>
</ul>
diff --git a/files/ja/web/css/perspective/index.html b/files/ja/web/css/perspective/index.md
index 52e8a10d61..4adb05e7ef 100644
--- a/files/ja/web/css/perspective/index.html
+++ b/files/ja/web/css/perspective/index.md
@@ -11,19 +11,19 @@ tags:
- 距離
translation_of: Web/CSS/perspective
---
-<div>{{CSSRef}}</div>
+{{CSSRef}}
-<p><span class="seoSummary"><strong><code>perspective</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、 z=0 の平面とユーザーとの間の距離を定めて三次元に配置された要素に遠近感を与えます。</span> z&gt;0 である三次元要素はより大きく、 z&lt;0 である三次元要素はより小さくなります。効果の強度はこのプロパティの値から決められます。</p>
+<span class="seoSummary">**`perspective`** は [CSS](/ja/docs/Web/CSS) のプロパティで、 z=0 の平面とユーザーとの間の距離を定めて三次元に配置された要素に遠近感を与えます。</span> z&gt;0 である三次元要素はより大きく、 z&lt;0 である三次元要素はより小さくなります。効果の強度はこのプロパティの値から決められます。
-<div>{{EmbedInteractiveExample("pages/css/perspective.html")}}</div>
+{{EmbedInteractiveExample("pages/css/perspective.html")}}
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
+<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 [https://github.com/mdn/interactive-examples](https://github.com/mdn/interactive-examples) をクローンしてプルリクエストを送信してください。</p>
-<p>ユーザーの背後にある 3D 要素の部品、つまり z 軸座標が CSS の <code>perspective</code> プロパティの値より大きい要素は描画されません。</p>
+ユーザーの背後にある 3D 要素の部品、つまり z 軸座標が CSS の `perspective` プロパティの値より大きい要素は描画されません。
-<p><em>消失点</em>は既定で要素の中心に置かれますが、この位置は {{cssxref("perspective-origin")}} プロパティで変更できます。</p>
+<em>消失点</em>は既定で要素の中心に置かれますが、この位置は {{cssxref("perspective-origin")}} プロパティで変更できます。
-<p>このプロパティを <code>0</code> と <code>none</code> 以外の値で使用すると、新たな<a href="/ja/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context">重ね合わせコンテキスト</a>を生成します。また、その場合、オブジェクトはそれを含む <code>position: fixed</code> の要素の包含ブロックとして動作します。</p>
+このプロパティを `0` と `none` 以外の値で使用すると、新たな[重ね合わせコンテキスト](/ja/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context)を生成します。また、その場合、オブジェクトはそれを含む `position: fixed` の要素の包含ブロックとして動作します。
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -42,12 +42,10 @@ perspective: unset;
<h3 id="Values" name="Values">値</h3>
-<dl>
- <dt><code>none</code></dt>
- <dd>立体的な変形を一切適用しないことを示すキーワードです。</dd>
- <dt><code>&lt;length&gt;</code></dt>
- <dd>ユーザーと z=0 平面間の距離を表す {{cssxref("&lt;length&gt;")}} です。立体的な変形を要素とその内容に適用するときに使います。 <code>0</code> や負の値ならば、立体的な変形は適用されません。</dd>
-</dl>
+- `none`
+ - : 立体的な変形を一切適用しないことを示すキーワードです。
+- `&lt;length&gt;`
+ - : ユーザーと z=0 平面間の距離を表す {{cssxref("&lt;length&gt;")}} です。立体的な変形を要素とその内容に適用するときに使います。 `0` や負の値ならば、立体的な変形は適用されません。
<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
@@ -57,15 +55,15 @@ perspective: unset;
<h3 id="Setting_perspective" name="Setting_perspective">視点の設定</h3>
-<p>この例は様々な位置に視点が設定された立方体を表示します。どのように立方体が早く縮まるかは、 {{ cssxref("perspective") }} プロパティで定義されます。小さい値ほど、視点は近くなります。</p>
+この例は様々な位置に視点が設定された立方体を表示します。どのように立方体が早く縮まるかは、 {{ cssxref("perspective") }} プロパティで定義されます。小さい値ほど、視点は近くなります。
<h4 id="Result" name="Result">結果</h4>
-<p>{{EmbedLiveSample('Setting_perspective', 660, 700)}}</p>
+{{EmbedLiveSample('Setting_perspective', 660, 700)}}
<h4 id="HTML">HTML</h4>
-<p>以下の HTML は、4つの同じボックスのコピーを、様々な値の視点を設定して作成します。</p>
+以下の HTML は、4つの同じボックスのコピーを、様々な値の視点を設定して作成します。
<pre class="brush: html">&lt;table&gt;
  &lt;tbody&gt;
@@ -139,7 +137,7 @@ perspective: unset;
<h4 id="CSS">CSS</h4>
-<p>様々な距離の遠近法を設定するために使用することができる CSS のクラスです。コンテナーボックスや立方体自身、それぞれの面のためのクラスも含みます。</p>
+様々な距離の遠近法を設定するために使用することができる CSS のクラスです。コンテナーボックスや立方体自身、それぞれの面のためのクラスも含みます。
<pre class="brush: css">/* さまざまな perspective の値のためのショートハンドクラス */
.pers250 {
@@ -246,14 +244,14 @@ th, p, td {
</tbody>
</table>
-<p>{{cssinfo}}</p>
+{{cssinfo}}
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
-<p>{{Compat("css.properties.perspective")}}</p>
+{{Compat("css.properties.perspective")}}
-<h2 id="See_also" name="See_also">関連情報</h2>
+## 関連情報
<ul>
- <li><a href="/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms">CSS 変形の使用</a></li>
+ <li>[CSS 変形の使用](/ja/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms)</li>
</ul>
diff --git a/files/ja/web/css/rotate/index.html b/files/ja/web/css/rotate/index.md
index 20d76f9561..5bb85884ad 100644
--- a/files/ja/web/css/rotate/index.html
+++ b/files/ja/web/css/rotate/index.md
@@ -8,9 +8,9 @@ tags:
- Transforms
translation_of: Web/CSS/rotate
---
-<div>{{CSSRef}}{{SeeCompatTable}}</div>
+{{CSSRef}}{{SeeCompatTable}}
-<p><a href="/ja/docs/Web/CSS">CSS</a> の <strong><code>rotate</code></strong> プロパティは、 {{CSSxRef("transform")}} とは個別に独立して回転変換を指定することができます。これは一般のユーザーインターフェイスの利用においてはより適しており、 <code>transform</code> の値で変形関数を指定する実際の順序を覚えておく手間を軽減します。</p>
+[CSS](/ja/docs/Web/CSS) の **`rotate`** プロパティは、 {{CSSxRef("transform")}} とは個別に独立して回転変換を指定することができます。これは一般のユーザーインターフェイスの利用においてはより適しており、 `transform` の値で変形関数を指定する実際の順序を覚えておく手間を軽減します。
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -32,16 +32,14 @@ rotate: 1 1 1 90deg;</pre>
<h3 id="Values" name="Values">値</h3>
-<dl>
- <dt>角度値</dt>
- <dd>{{CSSxRef("&lt;angle&gt;")}} で、 z 軸の周囲を該当する要素を貫いて回転させる角度を指定します。<code>rotate()</code> (2次元回転) 関数と等価です。</dd>
- <dt>x, y, z 軸と角度値</dt>
- <dd>該当する要素を回転する軸の名前 (<code>"x"</code>, "<code>y</code>", "<code>z"</code>) と、要素を貫いて回転する角度を指定する {{CSSxRef("&lt;angle&gt;")}} です。 <code>rotateX()</code>/<code>rotateY()</code>/<code>rotateZ()</code> (3次元回転) 関数と等価です。</dd>
- <dt>ベクトルと角度値</dt>
- <dd>要素を回転させたい直線を表す原点を中心としたベクトルを表す三つの数値 {{CSSxRef("&lt;number&gt;")}} と、要素を貫いて回転する角度を指定する {{CSSxRef("&lt;angle&gt;")}} です。 <code>rotate3d()</code> (3次元回転) 関数と等価です。</dd>
- <dt id="none"><code>none</code></dt>
- <dd>回転を適用しないことを表します。</dd>
-</dl>
+- 角度値
+ - : {{CSSxRef("&lt;angle&gt;")}} で、 z 軸の周囲を該当する要素を貫いて回転させる角度を指定します。`rotate()` (2次元回転) 関数と等価です。
+- x, y, z 軸と角度値
+ - : 該当する要素を回転する軸の名前 (`"x"`, "`y`", "`z"`) と、要素を貫いて回転する角度を指定する {{CSSxRef("&lt;angle&gt;")}} です。 `rotateX()`/`rotateY()`/`rotateZ()` (3次元回転) 関数と等価です。
+- ベクトルと角度値
+ - : 要素を回転させたい直線を表す原点を中心としたベクトルを表す三つの数値 {{CSSxRef("&lt;number&gt;")}} と、要素を貫いて回転する角度を指定する {{CSSxRef("&lt;angle&gt;")}} です。 `rotate3d()` (3次元回転) 関数と等価です。
+ <dt id="none">`none`</dt>
+ - : 回転を適用しないことを表します。
<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
@@ -92,7 +90,7 @@ div:hover .rotate {
<h3 id="Result" name="Result">結果</h3>
-<p>{{EmbedLiveSample("Examples")}}</p>
+{{EmbedLiveSample("Examples")}}
<h2 id="Specifications" name="Specifications">仕様書</h2>
@@ -113,8 +111,8 @@ div:hover .rotate {
</tbody>
</table>
-<p>{{CSSInfo}}</p>
+{{CSSInfo}}
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザー実装状況</h2>
-<p>{{Compat("css.properties.rotate")}}</p>
+{{Compat("css.properties.rotate")}}
diff --git a/files/ja/web/css/scale/index.html b/files/ja/web/css/scale/index.md
index 48b7e4cbf7..19f527c1b8 100644
--- a/files/ja/web/css/scale/index.html
+++ b/files/ja/web/css/scale/index.md
@@ -9,9 +9,9 @@ tags:
- 'recipe:css-property'
translation_of: Web/CSS/scale
---
-<div>{{CSSRef}}</div>
+{{CSSRef}}
-<p><strong><code>scale</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、 {{CSSxRef("transform")}} とは個別に独立して倍率変換を指定することができます。これは一般のユーザーインターフェイスの利用においてはより適しており、 <code>transform</code> の値で変換関数を指定する実際の順序を思い出す手間を軽減します。</p>
+**`scale`** は [CSS](/ja/docs/Web/CSS) のプロパティで、 {{CSSxRef("transform")}} とは個別に独立して倍率変換を指定することができます。これは一般のユーザーインターフェイスの利用においてはより適しており、 `transform` の値で変換関数を指定する実際の順序を思い出す手間を軽減します。
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -32,20 +32,18 @@ scale: 2 0.5 2;</pre>
<h3 id="Values" name="Values">値</h3>
-<dl>
- <dt>1つの数値</dt>
- <dd>該当する要素の拡大率を指定する {{CSSxRef("&lt;number&gt;")}} であり、 X 及び Y 軸で同じ倍率になります。 <code>scale()</code> (2D 倍率) 関数に1つの値を指定した場合と等価です。</dd>
- <dt>2つの長さ/パーセント値</dt>
- <dd>2つの {{CSSxRef("&lt;number&gt;")}} 値で、 2D 倍率における X 軸と Y 軸の拡大率を (それぞれ) 指定します。 <code>scale()</code> (2D 倍率) 関数に2つの値を指定した場合と等価です。</dd>
- <dt>3つの長さ/パーセント値</dt>
- <dd>3つの {{CSSxRef("&lt;number&gt;")}} 値で、 3D 倍率における X 軸と Y 軸と Z 軸の拡大率を (それぞれ) 指定します。 <code>translate3d()</code> (3D 倍率) 関数と等価です。</dd>
- <dt id="none"><code>none</code></dt>
- <dd>拡大率が適用されないことを示します。</dd>
-</dl>
+- 1つの数値
+ - : 該当する要素の拡大率を指定する {{CSSxRef("&lt;number&gt;")}} であり、 X 及び Y 軸で同じ倍率になります。 `scale()` (2D 倍率) 関数に1つの値を指定した場合と等価です。
+- 2つの長さ/パーセント値
+ - : 2つの {{CSSxRef("&lt;number&gt;")}} 値で、 2D 倍率における X 軸と Y 軸の拡大率を (それぞれ) 指定します。 `scale()` (2D 倍率) 関数に2つの値を指定した場合と等価です。
+- 3つの長さ/パーセント値
+ - : 3つの {{CSSxRef("&lt;number&gt;")}} 値で、 3D 倍率における X 軸と Y 軸と Z 軸の拡大率を (それぞれ) 指定します。 `translate3d()` (3D 倍率) 関数と等価です。
+ <dt id="none">`none`</dt>
+ - : 拡大率が適用されないことを示します。
<h2 id="Formal_definition" name="Formal_definition">公式定義</h2>
-<p>{{cssinfo}}</p>
+{{cssinfo}}
<h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2>
@@ -96,7 +94,7 @@ div:hover .scale {
<h4 id="Result" name="Result">結果</h4>
-<p>{{EmbedLiveSample("Scaling_an_element_on_hover")}}</p>
+{{EmbedLiveSample("Scaling_an_element_on_hover")}}
<h2 id="Specifications" name="Specifications">仕様書</h2>
@@ -119,9 +117,9 @@ div:hover .scale {
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
-<p>{{Compat("css.properties.scale")}}</p>
+{{Compat("css.properties.scale")}}
-<h2 id="See_also" name="See_also">関連情報</h2>
+## 関連情報
<ul>
<li>{{cssxref('translate')}}</li>
@@ -129,4 +127,4 @@ div:hover .scale {
<li>{{cssxref('transform')}}</li>
</ul>
-<p>注: skew は独立した変形値ではありません</p>
+注: skew は独立した変形値ではありません
diff --git a/files/ja/web/css/transform-origin/index.html b/files/ja/web/css/transform-origin/index.md
index 3e48cbe9c0..e7bb375699 100644
--- a/files/ja/web/css/transform-origin/index.html
+++ b/files/ja/web/css/transform-origin/index.md
@@ -11,15 +11,15 @@ tags:
- transform-origin
translation_of: Web/CSS/transform-origin
---
-<div>{{ CSSRef }}</div>
+{{ CSSRef }}
-<p><strong><code>transform-origin</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、要素の<ruby>変形<rp> (</rp><rt>transform</rt><rp>) </rp></ruby>における原点を設定します。</p>
+**`transform-origin`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素の<ruby>変形<rp> (</rp><rt>transform</rt><rp>) </rp></ruby>における原点を設定します。
-<div>{{EmbedInteractiveExample("pages/css/transform-origin.html")}}</div>
+{{EmbedInteractiveExample("pages/css/transform-origin.html")}}
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
+<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 [https://github.com/mdn/interactive-examples](https://github.com/mdn/interactive-examples) をクローンしてプルリクエストを送信してください。</p>
-<p>変形の原点とは、それを中心に変形が適用される点です。例えば、 <code><a href="/ja/docs/Web/CSS/transform-function/rotate">rotate()</a></code> 関数における変形の原点は、回転の中心です。</p>
+変形の原点とは、それを中心に変形が適用される点です。例えば、 `[rotate()](/ja/docs/Web/CSS/transform-function/rotate)` 関数における変形の原点は、回転の中心です。
<p>このプロパティは最初にプロパティ値の反対に平行移動し、それから要素の変形を適用し、プロパティ値の分だけ平行移動する形でで適用されます。<br>
すなわち、</p>
@@ -28,12 +28,12 @@ translation_of: Web/CSS/transform-origin
transform: rotate(45deg);
</pre>
-<p>この定義は以下の変形と同じです。</p>
+この定義は以下の変形と同じです。
<pre class="brush: css notranslate">transform-origin: 0 0;
transform: translate(-100%, 50%) rotate(45deg) translate(100%, -50%);</pre>
-<p>既定で、変形の原点は <code>center</code> です。</p>
+既定で、変形の原点は `center` です。
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -71,20 +71,20 @@ transform-origin: initial;
transform-origin: unset;
</pre>
-<p><code>transform-origin</code> プロパティは、オフセットを表す1~3つの値を使用して指定することができます。明示的に定義されなかったオフセットは、それぞれの対応する<a href="/ja/docs/Web/CSS/initial_value">初期値</a>にリセットされます。</p>
+`transform-origin` プロパティは、オフセットを表す1~3つの値を使用して指定することができます。明示的に定義されなかったオフセットは、それぞれの対応する[初期値](/ja/docs/Web/CSS/initial_value)にリセットされます。
-<p>2つ以上の値が定義され、どちらもの値もキーワードでない場合、または使われているキーワードが <code>center</code> だけであった場合、最初の値は水平方向のオフセットであり、二番目の値は垂直方向のオフセットです。</p>
+2つ以上の値が定義され、どちらもの値もキーワードでない場合、または使われているキーワードが `center` だけであった場合、最初の値は水平方向のオフセットであり、二番目の値は垂直方向のオフセットです。
<ul>
<li>値1つの構文:
<ul>
- <li>値は {{cssxref("&lt;length&gt;")}}, {{cssxref("&lt;percentage&gt;")}}, 又は <code>left</code>, <code>center</code>, <code>right</code>, <code>top</code>, <code>bottom</code> のうちの1つでなければなりません。</li>
+ <li>値は {{cssxref("&lt;length&gt;")}}, {{cssxref("&lt;percentage&gt;")}}, 又は `left`, `center`, `right`, `top`, `bottom` のうちの1つでなければなりません。</li>
</ul>
</li>
<li>値2つの構文:
<ul>
- <li>一方の値は {{cssxref("&lt;length&gt;")}}, {{cssxref("&lt;percentage&gt;")}}, 又はキーワードの <code>left</code>, <code>center</code>, <code>right</code> のうちの1つでなければなりません。</li>
- <li>もう一方の値は、 {{cssxref("&lt;length&gt;")}}, {{cssxref("&lt;percentage&gt;")}}, 又はキーワードの <code>top</code>, <code>center</code>, <code>bottom</code> のうちの1つでなければなりません。</li>
+ <li>一方の値は {{cssxref("&lt;length&gt;")}}, {{cssxref("&lt;percentage&gt;")}}, 又はキーワードの `left`, `center`, `right` のうちの1つでなければなりません。</li>
+ <li>もう一方の値は、 {{cssxref("&lt;length&gt;")}}, {{cssxref("&lt;percentage&gt;")}}, 又はキーワードの `top`, `center`, `bottom` のうちの1つでなければなりません。</li>
</ul>
</li>
<li>値3つの構文:
@@ -97,22 +97,20 @@ transform-origin: unset;
<h3 id="Values" name="Values">値</h3>
-<dl>
- <dt><var>x-offset</var></dt>
- <dd>{{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} の、ボックスの左端から変形の原点までの距離を示す値です。</dd>
- <dt><var>offset-keyword</var></dt>
- <dd><code>left</code>, <code>right</code>, <code>top</code>, <code>bottom</code>, <code>center</code> のいずれかのキーワードで、対応するオフセットを表します。</dd>
- <dt><var>y-offset</var></dt>
- <dd>{{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} の、ボックスの右端から変形の原点までの距離を示す値です。</dd>
- <dt><var>x-offset-keyword</var></dt>
- <dd><code>left</code>, <code>right</code>, <code>center</code> のいずれかのキーワードで、ボックスの左端から変形の原点までの距離を示します。</dd>
- <dt><var>y-offset-keyword</var></dt>
- <dd><code>top</code>, <code>bottom</code>, <code>center</code> のいずれかのキーワードで、ボックスの上端から変形の原点までの距離を示します。</dd>
- <dt><var>z-offset</var></dt>
- <dd>{{cssxref("&lt;length&gt;")}} 値 ({{cssxref("&lt;percentage&gt;")}} を指定すると文が無効になります) で、ユーザーの視点と z=0 原点の距離を示します。</dd>
-</dl>
-
-<p>キーワードは便利な速記であり、次の {{cssxref("&lt;percentage&gt;")}} 値に相当します。</p>
+- <var>x-offset</var>
+ - : {{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} の、ボックスの左端から変形の原点までの距離を示す値です。
+- <var>offset-keyword</var>
+ - : `left`, `right`, `top`, `bottom`, `center` のいずれかのキーワードで、対応するオフセットを表します。
+- <var>y-offset</var>
+ - : {{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} の、ボックスの右端から変形の原点までの距離を示す値です。
+- <var>x-offset-keyword</var>
+ - : `left`, `right`, `center` のいずれかのキーワードで、ボックスの左端から変形の原点までの距離を示します。
+- <var>y-offset-keyword</var>
+ - : `top`, `bottom`, `center` のいずれかのキーワードで、ボックスの上端から変形の原点までの距離を示します。
+- <var>z-offset</var>
+ - : {{cssxref("&lt;length&gt;")}} 値 ({{cssxref("&lt;percentage&gt;")}} を指定すると文が無効になります) で、ユーザーの視点と z=0 原点の距離を示します。
+
+キーワードは便利な速記であり、次の {{cssxref("&lt;percentage&gt;")}} 値に相当します。
<table class="standard-table">
<thead>
@@ -123,31 +121,31 @@ transform-origin: unset;
</thead>
<tbody>
<tr>
- <td><code>left</code></td>
- <td><code>0%</code></td>
+ <td>`left`</td>
+ <td>`0%`</td>
</tr>
<tr>
- <td><code>center</code></td>
- <td><code>50%</code></td>
+ <td>`center`</td>
+ <td>`50%`</td>
</tr>
<tr>
- <td><code>right</code></td>
- <td><code>100%</code></td>
+ <td>`right`</td>
+ <td>`100%`</td>
</tr>
<tr>
- <td><code>top</code></td>
- <td><code>0%</code></td>
+ <td>`top`</td>
+ <td>`0%`</td>
</tr>
<tr>
- <td><code>bottom</code></td>
- <td><code>100%</code></td>
+ <td>`bottom`</td>
+ <td>`100%`</td>
</tr>
</tbody>
</table>
<h2 id="Formal_definition" name="Formal_definition">公式定義</h2>
-<p>{{CSSInfo}}</p>
+{{CSSInfo}}
<h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2>
@@ -163,7 +161,7 @@ transform-origin: unset;
</tr>
<tr>
<td>
- <p><code>transform: none;</code></p>
+ `transform: none;`
</td>
<td>
<div class="hidden" id="transform_none">
@@ -184,12 +182,12 @@ transform: none;
</pre>
</div>
- <div>{{EmbedLiveSample('transform_none', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_none', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
<td>
- <p><code>transform: rotate(30deg);</code></p>
+ `transform: rotate(30deg);`
</td>
<td>
<div class="hidden" id="transform_rotate_only">
@@ -210,7 +208,7 @@ transform: rotate(30deg);
</pre>
</div>
- <div>{{EmbedLiveSample('transform_rotate_only', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_rotate_only', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
@@ -239,7 +237,7 @@ transform: rotate(30deg);
</pre>
</div>
- <div>{{EmbedLiveSample('transform_rotate', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_rotate', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
@@ -268,7 +266,7 @@ transform: rotate(30deg);
</pre>
</div>
- <div>{{EmbedLiveSample('transform_rotate_with_percentage', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_rotate_with_percentage', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
@@ -297,12 +295,12 @@ transform: rotate(30deg);
</pre>
</div>
- <div>{{EmbedLiveSample('transform_rotate_with_em', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_rotate_with_em', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
<td>
- <p><code>transform: scale(1.7);</code></p>
+ `transform: scale(1.7);`
</td>
<td>
<div class="hidden" id="transform_scale_only">
@@ -317,13 +315,13 @@ width: 3em;
height: 3em;
border: solid 1px;
background-color: palegreen;
-transform: scale(<code>1.7</code>);
--webkit-transform: scale(<code>1.7</code>);
+transform: scale(`1.7`);
+-webkit-transform: scale(`1.7`);
}
</pre>
</div>
- <div>{{EmbedLiveSample('transform_scale_only', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_scale_only', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
@@ -344,15 +342,15 @@ width: 3em;
height: 3em;
border: solid 1px;
background-color: palegreen;
-transform: scale(<code>1.7</code>);
--webkit-transform: scale(<code>1.7</code>);
+transform: scale(`1.7`);
+-webkit-transform: scale(`1.7`);
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
}
</pre>
</div>
- <div>{{EmbedLiveSample('transform_scale_without_origin', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_scale_without_origin', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
@@ -373,15 +371,15 @@ width: 3em;
height: 3em;
border: solid 1px;
background-color: palegreen;
-transform: scale(<code>1.7</code>);
--webkit-transform: scale(<code>1.7</code>);
+transform: scale(`1.7`);
+-webkit-transform: scale(`1.7`);
transform-origin: 100% -30%;
-webkit-transform-origin: 100% -30%;
}
</pre>
</div>
- <div>{{EmbedLiveSample('transform_scale', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_scale', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
@@ -410,7 +408,7 @@ transform-origin: 100% -30%;
</pre>
</div>
- <div>{{EmbedLiveSample('transform_skew_x', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_skew_x', '', 120, '', '', 'no-button') }}
</td>
</tr>
<tr>
@@ -439,7 +437,7 @@ transform-origin: 100% -30%;
</pre>
</div>
- <div>{{EmbedLiveSample('transform_skew_y', '', 120, '', '', 'no-button') }}</div>
+ {{EmbedLiveSample('transform_skew_y', '', 120, '', '', 'no-button') }}
</td>
</tr>
</tbody>
@@ -466,11 +464,11 @@ transform-origin: 100% -30%;
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
-<p>{{Compat("css.properties.transform-origin")}}</p>
+{{Compat("css.properties.transform-origin")}}
-<h2 id="See_also" name="See_also">関連情報</h2>
+## 関連情報
<ul>
- <li><a href="/ja/docs/Web/CSS/Using_CSS_transforms">CSS 変形の使用</a></li>
- <li><a href="https://css-tricks.com/almanac/properties/t/transform-origin/">https://css-tricks.com/almanac/properties/t/transform-origin/</a></li>
+ <li>[CSS 変形の使用](/ja/docs/Web/CSS/Using_CSS_transforms)</li>
+ <li>[https://css-tricks.com/almanac/properties/t/transform-origin/](https://css-tricks.com/almanac/properties/t/transform-origin/)</li>
</ul>
diff --git a/files/ja/web/css/transform-style/index.html b/files/ja/web/css/transform-style/index.md
index 8384df1d3e..0794591d5f 100644
--- a/files/ja/web/css/transform-style/index.html
+++ b/files/ja/web/css/transform-style/index.md
@@ -10,17 +10,17 @@ tags:
- 'recipe:css-property'
translation_of: Web/CSS/transform-style
---
-<div>{{CSSRef}}</div>
+{{CSSRef}}
-<p><span class="seoSummary"><strong><code>transform-style</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、要素の子要素を 3D 空間に配置するのか、平面化して要素の平面に配置するのかを設定します。</span></p>
+<span class="seoSummary">**`transform-style`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素の子要素を 3D 空間に配置するのか、平面化して要素の平面に配置するのかを設定します。</span>
-<div>{{EmbedInteractiveExample("pages/css/transform-style.html")}}</div>
+{{EmbedInteractiveExample("pages/css/transform-style.html")}}
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
+<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 [https://github.com/mdn/interactive-examples](https://github.com/mdn/interactive-examples) をクローンしてプルリクエストを送信してください。</p>
-<p>平面化した場合、子要素は自身の 3D 空間に存在しなくなります。</p>
+平面化した場合、子要素は自身の 3D 空間に存在しなくなります。
-<p>このプロパティは継承されないため、葉要素以外のすべての子孫要素で設定する必要があります。</p>
+このプロパティは継承されないため、葉要素以外のすべての子孫要素で設定する必要があります。
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -36,16 +36,14 @@ transform-style: unset;
<h3 id="Values" name="Values">値</h3>
-<dl>
- <dt><code>flat</code></dt>
- <dd>要素の子要素を要素自身の平面上に配置することを示します。</dd>
- <dt><code>preserve-3d</code></dt>
- <dd>要素の子要素を 3D 空間に配置することを示します。</dd>
-</dl>
+- `flat`
+ - : 要素の子要素を要素自身の平面上に配置することを示します。
+- `preserve-3d`
+ - : 要素の子要素を 3D 空間に配置することを示します。
<h2 id="Formal_definition" name="Formal_definition">公式定義</h2>
-<p>{{CSSInfo}}</p>
+{{CSSInfo}}
<h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2>
@@ -55,9 +53,9 @@ transform-style: unset;
<h3 id="Transform_style_demonstration" name="Transform_style_demonstration">変換スタイルのデモ</h3>
-<p>この例では、変換を使用して 3D の立方体を作成しています。立方体の面の親コンテナーには、既定で <code>transform-style: preserve-3d</code> が設定されているため、3D 空間で変換され、意図したとおりに表示されます。</p>
+この例では、変換を使用して 3D の立方体を作成しています。立方体の面の親コンテナーには、既定で `transform-style: preserve-3d` が設定されているため、3D 空間で変換され、意図したとおりに表示されます。
-<p>また、これと <code>transform-style: flat</code> の間で切り替えられるチェックボックスも用意されています。この別な状態では、立方体の面はすべて親の平面上に平坦化され、使用しているブラウザーによっては全く表示されない場合があります。</p>
+また、これと `transform-style: flat` の間で切り替えられるチェックボックスも用意されています。この別な状態では、立方体の面はすべて親の平面上に平坦化され、使用しているブラウザーによっては全く表示されない場合があります。
<h4 id="HTML">HTML</h4>
@@ -142,7 +140,7 @@ checkbox.addEventListener('change', () =&gt; {
<h4 id="Result" name="Result">結果</h4>
-<p>{{EmbedLiveSample('Transform_style_demonstration', '100%', 260)}}</p>
+{{EmbedLiveSample('Transform_style_demonstration', '100%', 260)}}
<h2 id="Specifications" name="Specifications">仕様書</h2>
@@ -165,10 +163,10 @@ checkbox.addEventListener('change', () =&gt; {
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
-<p>{{Compat("css.properties.transform-style")}}</p>
+{{Compat("css.properties.transform-style")}}
-<h2 id="See_also" name="See_also">関連情報</h2>
+## 関連情報
<ul>
- <li><a href="/ja/docs/CSS/Using_CSS_transforms">CSS 変形の使用</a></li>
+ <li>[CSS 変形の使用](/ja/docs/CSS/Using_CSS_transforms)</li>
</ul>
diff --git a/files/ja/web/css/transform/index.html b/files/ja/web/css/transform/index.html
deleted file mode 100644
index 360b12a5a4..0000000000
--- a/files/ja/web/css/transform/index.html
+++ /dev/null
@@ -1,150 +0,0 @@
----
-title: transform
-slug: Web/CSS/transform
-tags:
- - CSS
- - CSS プロパティ
- - CSS 変形
- - Reference
-translation_of: Web/CSS/transform
----
-<div>{{CSSRef}}</div>
-
-<div><a href="/ja/docs/Web/CSS">CSS</a> のプロパティ <strong><code>transform</code></strong> は、与えられた要素を回転、拡大縮小、傾斜、移動することできます。これは、 CSS の<a href="/ja/docs/Web/CSS/Visual_formatting_model">視覚整形モデル</a>の座標空間を変更します。</div>
-
-<div>{{EmbedInteractiveExample("pages/css/transform.html")}}</div>
-
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
-
-<p>このプロパティに <code>none</code> 以外の値が設定されていると、<a href="/ja/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context">重ね合わせコンテキスト</a> が作成されます。この場合、その要素はその中に含まれる <code>position: fixed;</code> または <code>position: absolute;</code> である要素すべての<a href="/ja/docs/Web/CSS/Containing_block">包含ブロック</a>として扱われます。</p>
-
-<div class="warning">
-<p>変形可能な要素のみが <code>transform</code> の対象になります。つまり、レイアウトが CSS ボックスモデルによって管理される、<a href="/ja/docs/Web/CSS/Visual_formatting_model#Inline-level_elements_and_inline_boxes">非置換インラインボックス</a>、<a href="/ja/docs/Web/HTML/Element/col">表の列ボックス</a>、<a href="/ja/docs/Web/HTML/Element/colgroup">表の列グループボックス</a>を除くすべての要素です。</p>
-</div>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="brush: css">/* キーワード値 */
-transform: none;
-
-/* 関数値 */
-transform: matrix(1.0, 2.0, 3.0, 4.0, 5.0, 6.0);
-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
-transform: perspective(17px);
-transform: rotate(0.5turn);
-transform: rotate3d(1, 2.0, 3.0, 10deg);
-transform: rotateX(10deg);
-transform: rotateY(10deg);
-transform: rotateZ(10deg);
-transform: translate(12px, 50%);
-transform: translate3d(12px, 50%, 3em);
-transform: translateX(2em);
-transform: translateY(3in);
-transform: translateZ(2px);
-transform: scale(2, 0.5);
-transform: scale3d(2.5, 1.2, 0.3);
-transform: scaleX(2);
-transform: scaleY(0.5);
-transform: scaleZ(0.3);
-transform: skew(30deg, 20deg);
-transform: skewX(30deg);
-transform: skewY(1.07rad);
-
-/* 複数の関数値 */
-transform: translateX(10px) rotate(10deg) translateY(5px);
-transform: perspective(500px) translate(10px, 0, 20px) rotateY(3deg);
-
-/* グローバル値 */
-transform: inherit;
-transform: initial;
-transform: unset;
-</pre>
-
-<p><code>transform</code> プロパティには、キーワード値 <code><a href="#none">none</a></code> か <code><a href="#&lt;transform-function>">&lt;transform-function&gt;</a></code> の値のいずれかが指定されます。</p>
-
-<h3 id="Values" name="Values">値</h3>
-
-<dl>
- <dt id="&lt;transform-function>">{{cssxref("&lt;transform-function&gt;")}}</dt>
- <dd>適用される 1 つ以上の <a href="/ja/docs/Web/CSS/transform-function">CSS 変形関数</a>です。変形関数は、左から右へ順に重ねられ、つまり右から左の順に変形の混合の効果が適用されます。</dd>
- <dt id="none"><code>none</code></dt>
- <dd>変形を何も適用しないことを指定します。</dd>
-</dl>
-
-<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
-
-{{csssyntax}}
-
-<p>{{cssxref("transform-function/perspective", "perspective()")}} を複数の関数の中で使用する場合は、最初に配置しなければなりません。</p>
-
-<h2 id="Examples" name="Examples">例</h2>
-
-<h3 id="HTML">HTML</h3>
-
-<pre class="brush: html">&lt;div&gt;Transformed element&lt;/div&gt;</pre>
-
-<h3 id="CSS">CSS</h3>
-
-<pre class="brush: css">div {
- border: solid red;
- transform: translate(30px, 20px) rotate(20deg);
- width: 140px;
- height: 60px;
-}</pre>
-
-<h3 id="Result" name="Result">結果</h3>
-
-<p>{{EmbedLiveSample("Examples", "400", "160")}}</p>
-
-<p>その他の例は、<a href="/ja/docs/Web/Guide/CSS/Using_CSS_transforms">CSS Transforms の利用</a> および {{cssxref("&lt;transform-function&gt;")}} をご覧ください。</p>
-
-<h2 id="Accessibility_concerns" name="Accessibility_concerns">アクセシビリティの考慮事項</h2>
-
-<p>拡大や縮小のアニメーションは、特定の種類の偏頭痛を引き起こす原因になりやすいので、アクセシビリティの問題になることがあります。ウェブサイトにこのようなアニメーションを含める必要がある場合は、できればサイト全体で、ユーザーがアニメーションを止める制御ができるようしてください。</p>
-
-<p>また、 {{cssxref("@media/prefers-reduced-motion", "prefers-reduced-motion")}} メディア特性を使用することを検討してください。これを使用して<a href="/ja/docs/Web/CSS/Media_Queries">メディアクエリ</a>を書けば、ユーザーがシステムの設定でアニメーションを減らすよう指定した場合にアニメーションを止めることができます。</p>
-
-<p>詳しくは以下の文書を参照してください。</p>
-
-<ul>
- <li><a href="/ja/docs/Web/Accessibility/Understanding_WCAG/Operable#Guideline_2.3_%E2%80%94_Seizures_and_Physical_Reactions_Do_not_design_content_in_a_way_that_is_known_to_cause_seizures_or_physical_reactions">MDN WCAG の理解、ガイドライン 2.3 の解説</a></li>
- <li><a href="https://www.w3.org/WAI/WCAG21/Understanding/animation-from-interactions">Understanding Success Criterion 2.3.3 | W3C Understanding WCAG 2.1</a></li>
-</ul>
-
-<h2 id="Specifications" name="Specifications">仕様書</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('CSS Transforms 2', '#transform-functions', 'transform')}}</td>
- <td>{{Spec2('CSS Transforms 2')}}</td>
- <td>3D 変換関数を追加。</td>
- </tr>
- <tr>
- <td>{{SpecName('CSS3 Transforms', '#transform-property', 'transform')}}</td>
- <td>{{Spec2('CSS3 Transforms')}}</td>
- <td>初回定義</td>
- </tr>
- </tbody>
-</table>
-
-<p>{{cssinfo}}</p>
-
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
-
-<p>{{Compat("css.properties.transform")}}</p>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li><a href="/ja/docs/Web/CSS/Using_CSS_transforms">CSS 変形の使用</a></li>
- <li>{{cssxref("&lt;transform-function&gt;")}} データ型にすべての変形関数の説明があります</li>
- <li>CSS 変形機能を視覚化するオンラインツール: <a href="https://css-transform.moro.es/">CSS Transform Playground</a></li>
-</ul>
diff --git a/files/ja/web/css/transform/index.md b/files/ja/web/css/transform/index.md
new file mode 100644
index 0000000000..e5e505a742
--- /dev/null
+++ b/files/ja/web/css/transform/index.md
@@ -0,0 +1,148 @@
+---
+title: transform
+slug: Web/CSS/transform
+tags:
+ - CSS
+ - CSS プロパティ
+ - CSS 変形
+ - Reference
+translation_of: Web/CSS/transform
+---
+{{CSSRef}}
+
+[CSS](/ja/docs/Web/CSS) のプロパティ **`transform`** は、与えられた要素を回転、拡大縮小、傾斜、移動することできます。これは、 CSS の[視覚整形モデル](/ja/docs/Web/CSS/Visual_formatting_model)の座標空間を変更します。
+
+{{EmbedInteractiveExample("pages/css/transform.html")}}
+
+<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 [https://github.com/mdn/interactive-examples](https://github.com/mdn/interactive-examples) をクローンしてプルリクエストを送信してください。</p>
+
+このプロパティに `none` 以外の値が設定されていると、[重ね合わせコンテキスト](/ja/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context) が作成されます。この場合、その要素はその中に含まれる `position: fixed;` または `position: absolute;` である要素すべての[包含ブロック](/ja/docs/Web/CSS/Containing_block)として扱われます。
+
+<div class="warning">
+変形可能な要素のみが `transform` の対象になります。つまり、レイアウトが CSS ボックスモデルによって管理される、[非置換インラインボックス](/ja/docs/Web/CSS/Visual_formatting_model#Inline-level_elements_and_inline_boxes)、[表の列ボックス](/ja/docs/Web/HTML/Element/col)、[表の列グループボックス](/ja/docs/Web/HTML/Element/colgroup)を除くすべての要素です。
+</div>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="brush: css">/* キーワード値 */
+transform: none;
+
+/* 関数値 */
+transform: matrix(1.0, 2.0, 3.0, 4.0, 5.0, 6.0);
+transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
+transform: perspective(17px);
+transform: rotate(0.5turn);
+transform: rotate3d(1, 2.0, 3.0, 10deg);
+transform: rotateX(10deg);
+transform: rotateY(10deg);
+transform: rotateZ(10deg);
+transform: translate(12px, 50%);
+transform: translate3d(12px, 50%, 3em);
+transform: translateX(2em);
+transform: translateY(3in);
+transform: translateZ(2px);
+transform: scale(2, 0.5);
+transform: scale3d(2.5, 1.2, 0.3);
+transform: scaleX(2);
+transform: scaleY(0.5);
+transform: scaleZ(0.3);
+transform: skew(30deg, 20deg);
+transform: skewX(30deg);
+transform: skewY(1.07rad);
+
+/* 複数の関数値 */
+transform: translateX(10px) rotate(10deg) translateY(5px);
+transform: perspective(500px) translate(10px, 0, 20px) rotateY(3deg);
+
+/* グローバル値 */
+transform: inherit;
+transform: initial;
+transform: unset;
+</pre>
+
+`transform` プロパティには、キーワード値 `[none](#none)` か `[&lt;transform-function&gt;](#&lt;transform-function>)` の値のいずれかが指定されます。
+
+<h3 id="Values" name="Values">値</h3>
+
+ <dt id="&lt;transform-function>">{{cssxref("&lt;transform-function&gt;")}}</dt>
+ - : 適用される 1 つ以上の [CSS 変形関数](/ja/docs/Web/CSS/transform-function)です。変形関数は、左から右へ順に重ねられ、つまり右から左の順に変形の混合の効果が適用されます。
+ <dt id="none">`none`</dt>
+ - : 変形を何も適用しないことを指定します。
+
+<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
+
+{{csssyntax}}
+
+{{cssxref("transform-function/perspective", "perspective()")}} を複数の関数の中で使用する場合は、最初に配置しなければなりません。
+
+<h2 id="Examples" name="Examples">例</h2>
+
+<h3 id="HTML">HTML</h3>
+
+<pre class="brush: html">&lt;div&gt;Transformed element&lt;/div&gt;</pre>
+
+<h3 id="CSS">CSS</h3>
+
+<pre class="brush: css">div {
+ border: solid red;
+ transform: translate(30px, 20px) rotate(20deg);
+ width: 140px;
+ height: 60px;
+}</pre>
+
+<h3 id="Result" name="Result">結果</h3>
+
+{{EmbedLiveSample("Examples", "400", "160")}}
+
+その他の例は、[CSS Transforms の利用](/ja/docs/Web/Guide/CSS/Using_CSS_transforms) および {{cssxref("&lt;transform-function&gt;")}} をご覧ください。
+
+<h2 id="Accessibility_concerns" name="Accessibility_concerns">アクセシビリティの考慮事項</h2>
+
+拡大や縮小のアニメーションは、特定の種類の偏頭痛を引き起こす原因になりやすいので、アクセシビリティの問題になることがあります。ウェブサイトにこのようなアニメーションを含める必要がある場合は、できればサイト全体で、ユーザーがアニメーションを止める制御ができるようしてください。
+
+また、 {{cssxref("@media/prefers-reduced-motion", "prefers-reduced-motion")}} メディア特性を使用することを検討してください。これを使用して[メディアクエリ](/ja/docs/Web/CSS/Media_Queries)を書けば、ユーザーがシステムの設定でアニメーションを減らすよう指定した場合にアニメーションを止めることができます。
+
+詳しくは以下の文書を参照してください。
+
+<ul>
+ <li>[MDN WCAG の理解、ガイドライン 2.3 の解説](/ja/docs/Web/Accessibility/Understanding_WCAG/Operable#Guideline_2.3_%E2%80%94_Seizures_and_Physical_Reactions_Do_not_design_content_in_a_way_that_is_known_to_cause_seizures_or_physical_reactions)</li>
+ <li>[Understanding Success Criterion 2.3.3 | W3C Understanding WCAG 2.1](https://www.w3.org/WAI/WCAG21/Understanding/animation-from-interactions)</li>
+</ul>
+
+<h2 id="Specifications" name="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('CSS Transforms 2', '#transform-functions', 'transform')}}</td>
+ <td>{{Spec2('CSS Transforms 2')}}</td>
+ <td>3D 変換関数を追加。</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('CSS3 Transforms', '#transform-property', 'transform')}}</td>
+ <td>{{Spec2('CSS3 Transforms')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+{{cssinfo}}
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+{{Compat("css.properties.transform")}}
+
+## 関連情報
+
+<ul>
+ <li>[CSS 変形の使用](/ja/docs/Web/CSS/Using_CSS_transforms)</li>
+ <li>{{cssxref("&lt;transform-function&gt;")}} データ型にすべての変形関数の説明があります</li>
+ <li>CSS 変形機能を視覚化するオンラインツール: [CSS Transform Playground](https://css-transform.moro.es/)</li>
+</ul>
diff --git a/files/ja/web/css/translate/index.html b/files/ja/web/css/translate/index.html
deleted file mode 100644
index c006580ae4..0000000000
--- a/files/ja/web/css/translate/index.html
+++ /dev/null
@@ -1,119 +0,0 @@
----
-title: translate
-slug: Web/CSS/translate
-tags:
- - CSS
- - CSS Property
- - CSS 変形
- - Experimental
- - Reference
- - Transforms
-translation_of: Web/CSS/translate
----
-<div>{{CSSRef}}{{SeeCompatTable}}</div>
-
-<p><strong><code>translate</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、平行移動による変形を独自に、 {{CSSxRef("transform")}} プロパティから独立して指定することができます。これは一般的なユーザーインターフェイスの用途に適しており、 <code>transform</code> の値で指定する変形関数を正確に思い出す必要がなくなります。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="brush: css no-line-numbers">/* キーワード値 */
-translate: none;
-
-/* 単一の値 */
-translate: 100px;
-translate: 50%;
-
-/* 二つの値 */
-translate: 100px 200px;
-translate: 50% 105px;
-
-/* 三つの値 */
-translate: 50% 105px 5rem;
-</pre>
-
-<h3 id="Values" name="Values">値</h3>
-
-<dl>
- <dt>単一の {{cssxref("&lt;length-percentage&gt;")}} 値</dt>
- <dd>単一の {{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} 値で、 X 軸および Y 軸方向が同じ移動量の二次元の平行移動を指定します。 <code>translate()</code> (二次元の平行移動) 関数に単一の値を指定したものと同等です。</dd>
- <dt>二つの {{cssxref("&lt;length-percentage&gt;")}} 値</dt>
- <dd>二つの {{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} 値で、二次元の平行移動における X および Y 軸方向の移動量を (それぞれ) 指定します。 <code>translate()</code> (二次元の平行移動) 関数に二つの値を指定したものと同等です。</dd>
- <dt>三つの値</dt>
- <dd>二つの {{cssxref("&lt;length-percentage&gt;")}} 値と一つの {{cssxref("&lt;length&gt;")}} 値で、三次元の平行移動における X, Y, Z 軸の移動量を (それぞれ) 指定します。 <code>translate3d()</code> (三次元の平行移動) 関数と同等です。</dd>
- <dt id="none"><code>none</code></dt>
- <dd>平行移動が適用されないことを指定します。</dd>
-</dl>
-
-<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
-
-{{CSSSyntax}}
-
-<h2 id="Examples" name="Examples">例</h2>
-
-<h3 id="HTML">HTML</h3>
-
-<pre class="brush: html">&lt;div&gt;
-  &lt;p class="translate"&gt;Translation&lt;/p&gt;
-&lt;/div&gt;</pre>
-
-<h3 id="CSS">CSS</h3>
-
-<pre class="brush: css">* {
- box-sizing: border-box;
-}
-
-html {
- font-family: sans-serif;
-}
-
-div {
- width: 150px;
- margin: 0 auto;
-}
-
-p {
- padding: 10px 5px;
- border: 3px solid black;
- border-radius: 20px;
- width: 150px;
- font-size: 1.2rem;
- text-align: center;
-}
-
-.translate {
- transition: translate 1s;
-}
-
-div:hover .translate {
- translate: 200px 50px;
-}
-</pre>
-
-<h3 id="Result" name="Result">結果</h3>
-
-<p>{{EmbedLiveSample('Examples')}}</p>
-
-<h2 id="Specifications" name="Specifications">仕様書</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('CSS Transforms 2', '#individual-transforms', 'individual transforms')}}</td>
- <td>{{Spec2('CSS Transforms 2')}}</td>
- <td>初回定義</td>
- </tr>
- </tbody>
-</table>
-
-<p>{{CSSInfo}}</p>
-
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
-
-<p>{{Compat("css.properties.translate")}}</p>
diff --git a/files/ja/web/css/translate/index.md b/files/ja/web/css/translate/index.md
new file mode 100644
index 0000000000..175107e62c
--- /dev/null
+++ b/files/ja/web/css/translate/index.md
@@ -0,0 +1,117 @@
+---
+title: translate
+slug: Web/CSS/translate
+tags:
+ - CSS
+ - CSS Property
+ - CSS 変形
+ - Experimental
+ - Reference
+ - Transforms
+translation_of: Web/CSS/translate
+---
+{{CSSRef}}{{SeeCompatTable}}
+
+**`translate`** は [CSS](/ja/docs/Web/CSS) のプロパティで、平行移動による変形を独自に、 {{CSSxRef("transform")}} プロパティから独立して指定することができます。これは一般的なユーザーインターフェイスの用途に適しており、 `transform` の値で指定する変形関数を正確に思い出す必要がなくなります。
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="brush: css no-line-numbers">/* キーワード値 */
+translate: none;
+
+/* 単一の値 */
+translate: 100px;
+translate: 50%;
+
+/* 二つの値 */
+translate: 100px 200px;
+translate: 50% 105px;
+
+/* 三つの値 */
+translate: 50% 105px 5rem;
+</pre>
+
+<h3 id="Values" name="Values">値</h3>
+
+- 単一の {{cssxref("&lt;length-percentage&gt;")}} 値
+ - : 単一の {{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} 値で、 X 軸および Y 軸方向が同じ移動量の二次元の平行移動を指定します。 `translate()` (二次元の平行移動) 関数に単一の値を指定したものと同等です。
+- 二つの {{cssxref("&lt;length-percentage&gt;")}} 値
+ - : 二つの {{cssxref("&lt;length&gt;")}} または {{cssxref("&lt;percentage&gt;")}} 値で、二次元の平行移動における X および Y 軸方向の移動量を (それぞれ) 指定します。 `translate()` (二次元の平行移動) 関数に二つの値を指定したものと同等です。
+- 三つの値
+ - : 二つの {{cssxref("&lt;length-percentage&gt;")}} 値と一つの {{cssxref("&lt;length&gt;")}} 値で、三次元の平行移動における X, Y, Z 軸の移動量を (それぞれ) 指定します。 `translate3d()` (三次元の平行移動) 関数と同等です。
+ <dt id="none">`none`</dt>
+ - : 平行移動が適用されないことを指定します。
+
+<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
+
+{{CSSSyntax}}
+
+<h2 id="Examples" name="Examples">例</h2>
+
+<h3 id="HTML">HTML</h3>
+
+<pre class="brush: html">&lt;div&gt;
+  &lt;p class="translate"&gt;Translation&lt;/p&gt;
+&lt;/div&gt;</pre>
+
+<h3 id="CSS">CSS</h3>
+
+<pre class="brush: css">* {
+ box-sizing: border-box;
+}
+
+html {
+ font-family: sans-serif;
+}
+
+div {
+ width: 150px;
+ margin: 0 auto;
+}
+
+p {
+ padding: 10px 5px;
+ border: 3px solid black;
+ border-radius: 20px;
+ width: 150px;
+ font-size: 1.2rem;
+ text-align: center;
+}
+
+.translate {
+ transition: translate 1s;
+}
+
+div:hover .translate {
+ translate: 200px 50px;
+}
+</pre>
+
+<h3 id="Result" name="Result">結果</h3>
+
+{{EmbedLiveSample('Examples')}}
+
+<h2 id="Specifications" name="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('CSS Transforms 2', '#individual-transforms', 'individual transforms')}}</td>
+ <td>{{Spec2('CSS Transforms 2')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+{{CSSInfo}}
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
+
+{{Compat("css.properties.translate")}}