From e160f04ecb5945c3dcf028e9d836be665dbf0ddc Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 20 Nov 2021 23:56:35 +0900 Subject: CSS Values and Units のプロパティを変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/dimension/index.html | 80 ----------------------------------- files/ja/web/css/dimension/index.md | 80 +++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 80 deletions(-) delete mode 100644 files/ja/web/css/dimension/index.html create mode 100644 files/ja/web/css/dimension/index.md (limited to 'files/ja/web/css/dimension') diff --git a/files/ja/web/css/dimension/index.html b/files/ja/web/css/dimension/index.html deleted file mode 100644 index 89792d3a7e..0000000000 --- a/files/ja/web/css/dimension/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: dimension -slug: Web/CSS/dimension -tags: - - CSS - - CSS Data Type - - CSS データ型 - - Reference - - dimension - - unit - - value - - 値 - - 単位 -translation_of: Web/CSS/dimension ---- -
{{CSSRef}}
- -

<dimension>CSSデータ型で、 {{CSSxRef("<number>")}} とそれに添付された単位を表します (10px など)。

- -

CSS は dimension を使用して、距離 ({{CSSxRef("<length>")}})、時間 ({{CSSxRef("<time>")}})、周期 ({{CSSxRef("<frequency>")}})、解像度 ({{CSSxRef("<resolution>")}})、その他の量を指定します。

- -

構文

- -

<dimension> の構文は、 {{CSSxRef("<number>")}} とすぐ後に識別子である単位を続けます。単位の識別子は、大文字小文字の区別がありません。

- -

- -

妥当な dimension

- -
12px      12ピクセル
-1rem      1rem
-1.2pt     1.2ポイント
-2200ms    2200ミリ秒
-200hz     200ヘルツ
-200Hz     200ヘルツ (値は大文字小文字の区別なし)
-
- -

妥当ではない dimension

- -
12 px       単位は数値の直後に来る必要がある。
-12"px"      単位は識別子であり、引用符で囲まない。
-
- -

仕様書

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("CSS4 Values", "#dimensions", "<dimension>")}}{{Spec2("CSS4 Values")}}cap, ic, lh, rlh, vi, vb を追加
{{SpecName("CSS3 Values", "#dimensions", "<dimension>")}}{{Spec2("CSS3 Values")}}ch, rem, vw, vw, vmin, vmax, Q を追加
{{SpecName("CSS2.1", "syndata.html#numbers", "<dimension>")}}{{Spec2("CSS2.1")}}Numbers and Length において定義
{{SpecName("CSS1", "", "<dimension>")}}{{Spec2("CSS1")}}"length units" のもとに初回定義
- -

ブラウザーの対応

- -

{{Compat("css.types.dimension")}}

diff --git a/files/ja/web/css/dimension/index.md b/files/ja/web/css/dimension/index.md new file mode 100644 index 0000000000..89792d3a7e --- /dev/null +++ b/files/ja/web/css/dimension/index.md @@ -0,0 +1,80 @@ +--- +title: dimension +slug: Web/CSS/dimension +tags: + - CSS + - CSS Data Type + - CSS データ型 + - Reference + - dimension + - unit + - value + - 値 + - 単位 +translation_of: Web/CSS/dimension +--- +
{{CSSRef}}
+ +

<dimension>CSSデータ型で、 {{CSSxRef("<number>")}} とそれに添付された単位を表します (10px など)。

+ +

CSS は dimension を使用して、距離 ({{CSSxRef("<length>")}})、時間 ({{CSSxRef("<time>")}})、周期 ({{CSSxRef("<frequency>")}})、解像度 ({{CSSxRef("<resolution>")}})、その他の量を指定します。

+ +

構文

+ +

<dimension> の構文は、 {{CSSxRef("<number>")}} とすぐ後に識別子である単位を続けます。単位の識別子は、大文字小文字の区別がありません。

+ +

+ +

妥当な dimension

+ +
12px      12ピクセル
+1rem      1rem
+1.2pt     1.2ポイント
+2200ms    2200ミリ秒
+200hz     200ヘルツ
+200Hz     200ヘルツ (値は大文字小文字の区別なし)
+
+ +

妥当ではない dimension

+ +
12 px       単位は数値の直後に来る必要がある。
+12"px"      単位は識別子であり、引用符で囲まない。
+
+ +

仕様書

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("CSS4 Values", "#dimensions", "<dimension>")}}{{Spec2("CSS4 Values")}}cap, ic, lh, rlh, vi, vb を追加
{{SpecName("CSS3 Values", "#dimensions", "<dimension>")}}{{Spec2("CSS3 Values")}}ch, rem, vw, vw, vmin, vmax, Q を追加
{{SpecName("CSS2.1", "syndata.html#numbers", "<dimension>")}}{{Spec2("CSS2.1")}}Numbers and Length において定義
{{SpecName("CSS1", "", "<dimension>")}}{{Spec2("CSS1")}}"length units" のもとに初回定義
+ +

ブラウザーの対応

+ +

{{Compat("css.types.dimension")}}

-- cgit v1.2.3-54-g00ecf