From 3c18a8fbac3cbd3c3ff0d9719292131c8bd3c8cb Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sun, 21 Nov 2021 22:56:20 +0900 Subject: transform-function の座標変換関数を変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/css/transform-function/scaley()/index.html | 93 ---------------------- 1 file changed, 93 deletions(-) delete mode 100644 files/ja/web/css/transform-function/scaley()/index.html (limited to 'files/ja/web/css/transform-function/scaley()/index.html') diff --git a/files/ja/web/css/transform-function/scaley()/index.html b/files/ja/web/css/transform-function/scaley()/index.html deleted file mode 100644 index 213942b13c..0000000000 --- a/files/ja/web/css/transform-function/scaley()/index.html +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: scaleY() -slug: Web/CSS/transform-function/scaleY() -tags: - - CSS - - CSS 変形 - - CSS 関数 - - リファレンス -translation_of: Web/CSS/transform-function/scaleY() ---- -
{{CSSRef}}
- -

CSSscaleY() 関数は、要素を Y 軸に沿って (垂直に) 拡縮する変形を定義します。結果は {{cssxref("<transform-function>")}} データ型になります。

- -

- -

係数が 1 である場合を除いて、各要素点の縦座標を一定の係数で修正し、この場合、関数は恒等変換です。拡大縮小は等方性ではなく、要素の角度は保存されません。 scaleY(-1)軸の線対称を定義し、水平軸は原点を通過します ({{cssxref("transform-origin")}} プロパティで指定)。

- -
-

メモ: scaleY(sy)scale(1, sy) または scale3d(1, sy, 1) と等価です。

- -

transform: rotateX(180deg);  === transform: scaleY(-1);

-
- -

構文

- -
scaleY(s)
-
- -

- -
-
s
-
{{cssxref("<number>")}} で、要素のそれぞれの点を規則的に適用する拡大縮小係数を表します。
-
- - - - - - - - - - - - - - - - - - - - - -
Cartesian coordinates on ℝ2Homogeneous coordinates on ℝℙ2Cartesian coordinates on ℝ3Homogeneous coordinates on ℝℙ3
10 0s 1000s0001 1000s0001 10000s0000100001
[1 0 0 s 0 0]
- -

- -

HTML

- -
<div>Normal</div>
-<div class="scaled">Scaled</div>
- -

CSS

- -
div {
-  width: 80px;
-  height: 80px;
-  background-color: skyblue;
-}
-
-.scaled {
-  transform: scaleY(0.6);
-  background-color: pink;
-}
-
- -

結果

- -

{{EmbedLiveSample("Examples", 200, 200)}}

- -

ブラウザーの対応

- -

<transform-function> データ型の互換性情報をご覧ください。

- -

関連情報

- - -- cgit v1.2.3-54-g00ecf