From e16ef28d7ef580733a618d623768f802936fcb12 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sun, 5 Dec 2021 00:28:29 +0900 Subject: フレックスボックスの旧プロパティの文書を変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/box-direction/index.html | 97 ------------------------------- files/ja/web/css/box-direction/index.md | 97 +++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 97 deletions(-) delete mode 100644 files/ja/web/css/box-direction/index.html create mode 100644 files/ja/web/css/box-direction/index.md (limited to 'files/ja/web/css/box-direction') diff --git a/files/ja/web/css/box-direction/index.html b/files/ja/web/css/box-direction/index.html deleted file mode 100644 index ec6b935a02..0000000000 --- a/files/ja/web/css/box-direction/index.html +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: box-direction -slug: Web/CSS/box-direction -tags: - - CSS - - Non-standard - - Reference - - box-direction -translation_of: Web/CSS/box-direction ---- -
{{CSSRef}}{{Non-standard_header}}
- -
-

これはもともと CSS Flexible Box Layout Module の草稿のプロパティでしたが、より新しい標準に置き換えられました。以前の標準であった box-directionflex-direction に置き換えられたので、 -moz-box-direction は XUL でのみ使用されます。現在の標準についての情報はフレックスボックスを参照してください。

-
- -

CSSbox-direction プロパティは、ボックスが内容を通常通りに (上または左から) 配置するか、逆方向に (下または右から) 配置するかを指定します。

- -
/* キーワード値 */
-box-direction: normal;
-box-direction: reverse;
-
-/* グローバル値 */
-box-direction: inherit;
-box-direction: initial;
-box-direction: unset;
-
- -

{{CSSInfo}}

- -

構文

- -

box-direction プロパティは以下の列挙されたキーワード値のうちの一つで指定します。

- -

- -
-
normal
-
ボックスが内容を先頭 (左または上の端) から配置します。
-
reverse
-
ボックスが内容を末尾 (右または下の端) から配置します。
-
- -

形式文法

- -{{CSSSyntax}} - -

- -
.example {
-  /* bottom-to-top layout */
-  -moz-box-direction: reverse;      /* Mozilla */
-  -webkit-box-direction: reverse;   /* WebKit */
-  box-direction: reverse;           /* 仕様書通り */
-}
-
- -

メモ

- -

配置目的で start で示されるボックスの端は、ボックスの方向に依存します。

- - - - - - - - - - - - -
Horizontalleft
Verticaltop
- -

start と反対側の辺は end で示します。

- -

書字方向が要素の dir 属性を使用して設定されている場合は、このスタイルは無視されます。

- -

仕様書

- - - -

ブラウザーの対応

- -

{{Compat("css.properties.box-direction")}}

- -

関連情報

- - diff --git a/files/ja/web/css/box-direction/index.md b/files/ja/web/css/box-direction/index.md new file mode 100644 index 0000000000..ec6b935a02 --- /dev/null +++ b/files/ja/web/css/box-direction/index.md @@ -0,0 +1,97 @@ +--- +title: box-direction +slug: Web/CSS/box-direction +tags: + - CSS + - Non-standard + - Reference + - box-direction +translation_of: Web/CSS/box-direction +--- +
{{CSSRef}}{{Non-standard_header}}
+ +
+

これはもともと CSS Flexible Box Layout Module の草稿のプロパティでしたが、より新しい標準に置き換えられました。以前の標準であった box-directionflex-direction に置き換えられたので、 -moz-box-direction は XUL でのみ使用されます。現在の標準についての情報はフレックスボックスを参照してください。

+
+ +

CSSbox-direction プロパティは、ボックスが内容を通常通りに (上または左から) 配置するか、逆方向に (下または右から) 配置するかを指定します。

+ +
/* キーワード値 */
+box-direction: normal;
+box-direction: reverse;
+
+/* グローバル値 */
+box-direction: inherit;
+box-direction: initial;
+box-direction: unset;
+
+ +

{{CSSInfo}}

+ +

構文

+ +

box-direction プロパティは以下の列挙されたキーワード値のうちの一つで指定します。

+ +

+ +
+
normal
+
ボックスが内容を先頭 (左または上の端) から配置します。
+
reverse
+
ボックスが内容を末尾 (右または下の端) から配置します。
+
+ +

形式文法

+ +{{CSSSyntax}} + +

+ +
.example {
+  /* bottom-to-top layout */
+  -moz-box-direction: reverse;      /* Mozilla */
+  -webkit-box-direction: reverse;   /* WebKit */
+  box-direction: reverse;           /* 仕様書通り */
+}
+
+ +

メモ

+ +

配置目的で start で示されるボックスの端は、ボックスの方向に依存します。

+ + + + + + + + + + + + +
Horizontalleft
Verticaltop
+ +

start と反対側の辺は end で示します。

+ +

書字方向が要素の dir 属性を使用して設定されている場合は、このスタイルは無視されます。

+ +

仕様書

+ + + +

ブラウザーの対応

+ +

{{Compat("css.properties.box-direction")}}

+ +

関連情報

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