diff options
author | MDN <actions@users.noreply.github.com> | 2022-03-19 00:13:08 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2022-03-19 00:13:08 +0000 |
commit | 9bf6693b2edd5281c1577856895c55653a41dc01 (patch) | |
tree | 0143e1d1d5c95776e42d8d9afdddedb13a0827c1 /files/ja/web/css/transform-function | |
parent | 376471eb81e0a3dc263128f834e3c8c22bb9b4d6 (diff) | |
download | translated-content-9bf6693b2edd5281c1577856895c55653a41dc01.tar.gz translated-content-9bf6693b2edd5281c1577856895c55653a41dc01.tar.bz2 translated-content-9bf6693b2edd5281c1577856895c55653a41dc01.zip |
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/css/transform-function')
-rw-r--r-- | files/ja/web/css/transform-function/matrix/index.md (renamed from files/ja/web/css/transform-function/matrix()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/matrix3d/index.md (renamed from files/ja/web/css/transform-function/matrix3d()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/perspective/index.md (renamed from files/ja/web/css/transform-function/perspective()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/rotate/index.md (renamed from files/ja/web/css/transform-function/rotate()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/rotate3d/index.md (renamed from files/ja/web/css/transform-function/rotate3d()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/rotatex/index.md (renamed from files/ja/web/css/transform-function/rotatex()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/rotatey/index.md (renamed from files/ja/web/css/transform-function/rotatey()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/rotatez/index.md (renamed from files/ja/web/css/transform-function/rotatez()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/scale/index.md (renamed from files/ja/web/css/transform-function/scale()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/scale3d/index.md (renamed from files/ja/web/css/transform-function/scale3d()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/scalex/index.md (renamed from files/ja/web/css/transform-function/scalex()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/scaley/index.md (renamed from files/ja/web/css/transform-function/scaley()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/scalez/index.md (renamed from files/ja/web/css/transform-function/scalez()/index.md) | 3 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/skew/index.md (renamed from files/ja/web/css/transform-function/skew()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/skewx/index.md (renamed from files/ja/web/css/transform-function/skewx()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/skewy()/index.md | 177 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/translate/index.md (renamed from files/ja/web/css/transform-function/translate()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/translate3d/index.md (renamed from files/ja/web/css/transform-function/translate3d()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/translatex/index.md (renamed from files/ja/web/css/transform-function/translatex()/index.md) | 6 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/translatey/index.md (renamed from files/ja/web/css/transform-function/translatey()/index.md) | 5 | ||||
-rw-r--r-- | files/ja/web/css/transform-function/translatez/index.md (renamed from files/ja/web/css/transform-function/translatez()/index.md) | 7 |
21 files changed, 60 insertions, 218 deletions
diff --git a/files/ja/web/css/transform-function/matrix()/index.md b/files/ja/web/css/transform-function/matrix/index.md index a522b300fd..d01b1fd491 100644 --- a/files/ja/web/css/transform-function/matrix()/index.md +++ b/files/ja/web/css/transform-function/matrix/index.md @@ -1,14 +1,15 @@ --- title: matrix() -slug: Web/CSS/transform-function/matrix() +slug: Web/CSS/transform-function/matrix tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.matrix translation_of: Web/CSS/transform-function/matrix() +original_slug: Web/CSS/transform-function/matrix() +browser-compat: css.types.transform-function.matrix --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/matrix3d()/index.md b/files/ja/web/css/transform-function/matrix3d/index.md index f441acebd2..b3d1168891 100644 --- a/files/ja/web/css/transform-function/matrix3d()/index.md +++ b/files/ja/web/css/transform-function/matrix3d/index.md @@ -1,14 +1,15 @@ --- title: matrix3d() -slug: Web/CSS/transform-function/matrix3d() +slug: Web/CSS/transform-function/matrix3d tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.matrix3d translation_of: Web/CSS/transform-function/matrix3d() +original_slug: Web/CSS/transform-function/matrix3d() +browser-compat: css.types.transform-function.matrix3d --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/perspective()/index.md b/files/ja/web/css/transform-function/perspective/index.md index 3be9e8d15f..558dc25a15 100644 --- a/files/ja/web/css/transform-function/perspective()/index.md +++ b/files/ja/web/css/transform-function/perspective/index.md @@ -1,14 +1,15 @@ --- title: perspective() -slug: Web/CSS/transform-function/perspective() +slug: Web/CSS/transform-function/perspective tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.perspective translation_of: Web/CSS/transform-function/perspective() +original_slug: Web/CSS/transform-function/perspective() +browser-compat: css.types.transform-function.perspective --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/rotate()/index.md b/files/ja/web/css/transform-function/rotate/index.md index 680dadc756..0cd44fab47 100644 --- a/files/ja/web/css/transform-function/rotate()/index.md +++ b/files/ja/web/css/transform-function/rotate/index.md @@ -1,14 +1,15 @@ --- title: rotate() -slug: Web/CSS/transform-function/rotate() +slug: Web/CSS/transform-function/rotate tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.rotate translation_of: Web/CSS/transform-function/rotate() +original_slug: Web/CSS/transform-function/rotate() +browser-compat: css.types.transform-function.rotate --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/rotate3d()/index.md b/files/ja/web/css/transform-function/rotate3d/index.md index fd781800d0..c747c1c27c 100644 --- a/files/ja/web/css/transform-function/rotate3d()/index.md +++ b/files/ja/web/css/transform-function/rotate3d/index.md @@ -1,14 +1,15 @@ --- title: rotate3d() -slug: Web/CSS/transform-function/rotate3d() +slug: Web/CSS/transform-function/rotate3d tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.rotate3d translation_of: Web/CSS/transform-function/rotate3d() +original_slug: Web/CSS/transform-function/rotate3d() +browser-compat: css.types.transform-function.rotate3d --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/rotatex()/index.md b/files/ja/web/css/transform-function/rotatex/index.md index 111f7c1b0f..ae003dd8d1 100644 --- a/files/ja/web/css/transform-function/rotatex()/index.md +++ b/files/ja/web/css/transform-function/rotatex/index.md @@ -1,14 +1,15 @@ --- title: rotateX() -slug: Web/CSS/transform-function/rotateX() +slug: Web/CSS/transform-function/rotateX tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.rotateX translation_of: Web/CSS/transform-function/rotateX() +original_slug: Web/CSS/transform-function/rotateX() +browser-compat: css.types.transform-function.rotateX --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/rotatey()/index.md b/files/ja/web/css/transform-function/rotatey/index.md index 4ca3842ff6..a039fe60a4 100644 --- a/files/ja/web/css/transform-function/rotatey()/index.md +++ b/files/ja/web/css/transform-function/rotatey/index.md @@ -1,14 +1,15 @@ --- title: rotateY() -slug: Web/CSS/transform-function/rotateY() +slug: Web/CSS/transform-function/rotateY tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.rotateY translation_of: Web/CSS/transform-function/rotateY() +original_slug: Web/CSS/transform-function/rotateY() +browser-compat: css.types.transform-function.rotateY --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/rotatez()/index.md b/files/ja/web/css/transform-function/rotatez/index.md index e6bc6dffae..04b880f9d2 100644 --- a/files/ja/web/css/transform-function/rotatez()/index.md +++ b/files/ja/web/css/transform-function/rotatez/index.md @@ -1,14 +1,15 @@ --- title: rotateZ() -slug: Web/CSS/transform-function/rotateZ() +slug: Web/CSS/transform-function/rotateZ tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.rotateZ translation_of: Web/CSS/transform-function/rotateZ() +original_slug: Web/CSS/transform-function/rotateZ() +browser-compat: css.types.transform-function.rotateZ --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/scale()/index.md b/files/ja/web/css/transform-function/scale/index.md index f81c5606b2..ce639a20d1 100644 --- a/files/ja/web/css/transform-function/scale()/index.md +++ b/files/ja/web/css/transform-function/scale/index.md @@ -1,14 +1,15 @@ --- title: scale() -slug: Web/CSS/transform-function/scale() +slug: Web/CSS/transform-function/scale tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.scale translation_of: Web/CSS/transform-function/scale() +original_slug: Web/CSS/transform-function/scale() +browser-compat: css.types.transform-function.scale --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/scale3d()/index.md b/files/ja/web/css/transform-function/scale3d/index.md index 8a8bec6701..38937f183f 100644 --- a/files/ja/web/css/transform-function/scale3d()/index.md +++ b/files/ja/web/css/transform-function/scale3d/index.md @@ -1,14 +1,15 @@ --- title: scale3d() -slug: Web/CSS/transform-function/scale3d() +slug: Web/CSS/transform-function/scale3d tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.scale3d translation_of: Web/CSS/transform-function/scale3d() +original_slug: Web/CSS/transform-function/scale3d() +browser-compat: css.types.transform-function.scale3d --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/scalex()/index.md b/files/ja/web/css/transform-function/scalex/index.md index 231094820a..c1652028ce 100644 --- a/files/ja/web/css/transform-function/scalex()/index.md +++ b/files/ja/web/css/transform-function/scalex/index.md @@ -1,14 +1,15 @@ --- title: scaleX() -slug: Web/CSS/transform-function/scaleX() +slug: Web/CSS/transform-function/scaleX tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.scaleX translation_of: Web/CSS/transform-function/scaleX() +original_slug: Web/CSS/transform-function/scaleX() +browser-compat: css.types.transform-function.scaleX --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/scaley()/index.md b/files/ja/web/css/transform-function/scaley/index.md index 14ffbff444..6228d6b18e 100644 --- a/files/ja/web/css/transform-function/scaley()/index.md +++ b/files/ja/web/css/transform-function/scaley/index.md @@ -1,14 +1,15 @@ --- title: scaleY() -slug: Web/CSS/transform-function/scaleY() +slug: Web/CSS/transform-function/scaleY tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.scaleY translation_of: Web/CSS/transform-function/scaleY() +original_slug: Web/CSS/transform-function/scaleY() +browser-compat: css.types.transform-function.scaleY --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/scalez()/index.md b/files/ja/web/css/transform-function/scalez/index.md index ed78c98b18..b81aa36b4f 100644 --- a/files/ja/web/css/transform-function/scalez()/index.md +++ b/files/ja/web/css/transform-function/scalez/index.md @@ -1,12 +1,13 @@ --- title: scaleZ() -slug: Web/CSS/transform-function/scaleZ() +slug: Web/CSS/transform-function/scaleZ tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス +original_slug: Web/CSS/transform-function/scaleZ() browser-compat: css.types.transform-function.scaleZ --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/skew()/index.md b/files/ja/web/css/transform-function/skew/index.md index 826a6e12fc..9c6abb22a0 100644 --- a/files/ja/web/css/transform-function/skew()/index.md +++ b/files/ja/web/css/transform-function/skew/index.md @@ -1,14 +1,15 @@ --- title: skew() -slug: Web/CSS/transform-function/skew() +slug: Web/CSS/transform-function/skew tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.skew translation_of: Web/CSS/transform-function/skew() +original_slug: Web/CSS/transform-function/skew() +browser-compat: css.types.transform-function.skew --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/skewx()/index.md b/files/ja/web/css/transform-function/skewx/index.md index 353c7dd058..aa774cbd9a 100644 --- a/files/ja/web/css/transform-function/skewx()/index.md +++ b/files/ja/web/css/transform-function/skewx/index.md @@ -1,14 +1,15 @@ --- title: skewX() -slug: Web/CSS/transform-function/skewX() +slug: Web/CSS/transform-function/skewX tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.skewX translation_of: Web/CSS/transform-function/skewX() +original_slug: Web/CSS/transform-function/skewX() +browser-compat: css.types.transform-function.skewX --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/skewy()/index.md b/files/ja/web/css/transform-function/skewy()/index.md deleted file mode 100644 index 07a978b3f5..0000000000 --- a/files/ja/web/css/transform-function/skewy()/index.md +++ /dev/null @@ -1,177 +0,0 @@ ---- -title: skewY() -slug: Web/CSS/transform-function/skewY() -tags: - - CSS - - CSS 関数 - - CSS 座標変換 - - 関数 - - リファレンス -browser-compat: css.types.transform-function.skewY -translation_of: Web/CSS/transform-function/skewY() ---- -{{CSSRef}} - -**`skewY()`** は [CSS](/ja/docs/Web/CSS) の[関数](/ja/docs/Web/CSS/CSS_Functions)で、要素を二次元平面上で垂直方向にゆがめる変換を定義します。結果は {{cssxref("<transform-function>")}} データ型になります。 - -{{EmbedInteractiveExample("pages/css/function-skewY.html")}} - -この変換はシアー変形 ({{interwiki('wikipedia', 'せん断写像')}}) で、要素内のそれぞれの点を垂直方向に指定された角度でゆがませます。それぞれの点の縦座標は、指定された角度と原点からの距離に比例した値によって変更されます。よって、原点から遠くなるにしたがって、加えられる値が大きくなります。 - -## 構文 - -```css -skewY(a) -``` - -### 値 - -- `a` - - : {{cssxref("<angle>")}} で、縦座標方向にゆがめるのに使用する角度を表します。 - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">ℝ^2 のデカルト座標</th> - <th scope="col">ℝℙ^2 の同次座標</th> - <th scope="col">ℝ^3 のデカルト座標</th> - <th scope="col">ℝℙ^3 の同次座標</th> - </tr> - </thead> - <tbody> - <tr> - <td rowspan="2"> - <math - ><mfenced - ><mtable - ><mtr - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd - ><mo>tan</mo> - <mo>(</mo> - <mi>a</mi> - <mo>)</mo> </mtd - ><mtd><mn>1</mn></mtd></mtr - ></mtable - ></mfenced - ></math - > - </td> - <td> - <math - ><mfenced - ><mtable - ><mtr - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd - ><mo>tan</mo> - <mo>(</mo> - <mi>a</mi> - <mo>)</mo> </mtd - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd><mn>0</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>1</mn></mtd></mtr - ></mtable - ></mfenced - ></math - > - </td> - <td rowspan="2"> - <math - ><mfenced - ><mtable - ><mtr - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd - ><mo>tan</mo> - <mo>(</mo> - <mi>a</mi> - <mo>)</mo> </mtd - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd><mn>0</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>1</mn></mtd></mtr - ></mtable - ></mfenced - ></math - > - </td> - <td rowspan="2"> - <math - ><mfenced - ><mtable - ><mtr - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>0</mn> </mtd><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd - ><mo>tan</mo> - <mo>(</mo> - <mi>a</mi> - <mo>)</mo> </mtd - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd><mn>0</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>1</mn> </mtd><mtd><mn>0</mn> </mtd></mtr - ><mtr - ><mtd><mn>0</mn> </mtd><mtd><mn>0</mn> </mtd - ><mtd><mn>0</mn> </mtd><mtd><mn>1</mn></mtd></mtr - ></mtable - ></mfenced - ></math - > - </td> - </tr> - <tr> - <td><code>[1 tan(a) 0 1 0 0]</code></td> - </tr> - </tbody> -</table> - -<h2 id="Examples">例</h2> - -### HTML - -```html -<div>Normal</div> -<div class="skewed">Skewed</div> -``` - -### CSS - -```css -div { - width: 80px; - height: 80px; - background-color: skyblue; -} - -.skewed { - transform: skewY(40deg); - background-color: pink; -} -``` - -### 結果 - -{{EmbedLiveSample("Examples", 200, 200)}} - -## 仕様書 - -{{Specifications}} - -## ブラウザーの互換性 - -{{Compat}} - -## 関連情報 - -- {{cssxref("transform")}} -- {{cssxref("<transform-function>")}} diff --git a/files/ja/web/css/transform-function/translate()/index.md b/files/ja/web/css/transform-function/translate/index.md index e3b28bdc1a..0af964a8c0 100644 --- a/files/ja/web/css/transform-function/translate()/index.md +++ b/files/ja/web/css/transform-function/translate/index.md @@ -1,14 +1,15 @@ --- title: translate() -slug: Web/CSS/transform-function/translate() +slug: Web/CSS/transform-function/translate tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.translate translation_of: Web/CSS/transform-function/translate() +original_slug: Web/CSS/transform-function/translate() +browser-compat: css.types.transform-function.translate --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/translate3d()/index.md b/files/ja/web/css/transform-function/translate3d/index.md index 0d614fbd1a..26bd0785b4 100644 --- a/files/ja/web/css/transform-function/translate3d()/index.md +++ b/files/ja/web/css/transform-function/translate3d/index.md @@ -1,14 +1,15 @@ --- title: translate3d() -slug: Web/CSS/transform-function/translate3d() +slug: Web/CSS/transform-function/translate3d tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.translate3d translation_of: Web/CSS/transform-function/translate3d() +original_slug: Web/CSS/transform-function/translate3d() +browser-compat: css.types.transform-function.translate3d --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/translatex()/index.md b/files/ja/web/css/transform-function/translatex/index.md index 1d0797b735..011503864b 100644 --- a/files/ja/web/css/transform-function/translatex()/index.md +++ b/files/ja/web/css/transform-function/translatex/index.md @@ -1,15 +1,15 @@ --- title: translateX() -slug: Web/CSS/transform-function/translateX() +slug: Web/CSS/transform-function/translateX tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.translateX translation_of: Web/CSS/transform-function/translateX() -original_slug: Web/CSS/transform-function/translateX +original_slug: Web/CSS/transform-function/translateX() +browser-compat: css.types.transform-function.translateX --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/translatey()/index.md b/files/ja/web/css/transform-function/translatey/index.md index ef8f624a29..6f49e8dacf 100644 --- a/files/ja/web/css/transform-function/translatey()/index.md +++ b/files/ja/web/css/transform-function/translatey/index.md @@ -1,14 +1,15 @@ --- title: translateY() -slug: Web/CSS/transform-function/translateY() +slug: Web/CSS/transform-function/translateY tags: - CSS - CSS 関数 - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.translateY translation_of: Web/CSS/transform-function/translateY() +original_slug: Web/CSS/transform-function/translateY() +browser-compat: css.types.transform-function.translateY --- {{CSSRef}} diff --git a/files/ja/web/css/transform-function/translatez()/index.md b/files/ja/web/css/transform-function/translatez/index.md index 400c67a02f..e0a1df5c9d 100644 --- a/files/ja/web/css/transform-function/translatez()/index.md +++ b/files/ja/web/css/transform-function/translatez/index.md @@ -1,6 +1,6 @@ --- title: translateZ() -slug: Web/CSS/transform-function/translateZ() +slug: Web/CSS/transform-function/translateZ tags: - 3D - CSS @@ -8,8 +8,9 @@ tags: - CSS 座標変換 - 関数 - リファレンス -browser-compat: css.types.transform-function.translateZ translation_of: Web/CSS/transform-function/translateZ() +original_slug: Web/CSS/transform-function/translateZ() +browser-compat: css.types.transform-function.translateZ --- {{CSSRef}} @@ -104,7 +105,7 @@ div { } ``` -ここで重要なのは "moved" というクラスで、その機能を見てみましょう。まず、 +ここで重要なのは "moved" というクラスで、その機能を見てみましょう。まず、 [`perspective()`](/ja/docs/Web/CSS/transform-function/perspective()) 関数は、 z=0 の位置にある平面 (要するに画面の表面) の相対位置に閲覧者を位置付けます。 `500px` という値は、ユーザーが z=0 にある画像の 500 ピクセル「前」にいることを意味します。 次に、`translateZ()` 関数は、要素を画面からユーザーの方に「外向きに」200 ピクセル移動します。 これは、二次元のディスプレイ上で見たときに要素を大きく見せる、または VR ヘッドセットや他の三次元ディスプレイ機器を使用して見たときに要素をより近く見せるという効果があります。 |