From 56128e4c267e489e08b5e7108362c6c04b35c362 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Wed, 3 Nov 2021 02:17:02 +0900 Subject: CSS フレックスボックス関係の文書を更新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 2021/11/01 時点の英語版に同期 --- files/ja/web/css/flex-flow/index.md | 94 ++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 49 deletions(-) (limited to 'files/ja/web/css/flex-flow') diff --git a/files/ja/web/css/flex-flow/index.md b/files/ja/web/css/flex-flow/index.md index 4c77d70ed0..5e34ae19aa 100644 --- a/files/ja/web/css/flex-flow/index.md +++ b/files/ja/web/css/flex-flow/index.md @@ -5,32 +5,39 @@ tags: - CSS - CSS フレックスボックス - CSS プロパティ - - Reference - - 一括指定プロパティ + - リファレンス + - recipe:css-shorthand-property +browser-compat: css.properties.flex-flow translation_of: Web/CSS/flex-flow --- -
{{CSSRef}}
+{{CSSRef}} -

CSSflex-flow プロパティは、 {{cssxref("flex-direction")}} プロパティと {{cssxref("flex-wrap")}} プロパティの一括指定プロパティです。

+**`flex-flow`** は [CSS](/ja/docs/Web/CSS) の[一括指定プロパティ](/ja/docs/Web/CSS/Shorthand_properties)で、フレックスコンテナーの向きと折り返しの動作を同時に指定します。 -
{{EmbedInteractiveExample("pages/css/flex-flow.html")}}
+{{EmbedInteractiveExample("pages/css/flex-flow.html")}} - +## 構成要素のプロパティ -

構文

+このプロパティは以下の CSS プロパティの一括指定です。 -
/* flex-flow: <'flex-direction'> */
+- [`flex-direction`](/ja/docs/Web/CSS/flex-direction)
+- [`flex-wrap`](/ja/docs/Web/CSS/flex-wrap)
+
+## 構文
+
+```css
+/* flex-flow: <'flex-direction'> */
 flex-flow: row;
 flex-flow: row-reverse;
 flex-flow: column;
 flex-flow: column-reverse;
 
-/* flex-flow: <'flex-wrap'> */
+/* flex-flow: <'flex-wrap'> */
 flex-flow: nowrap;
 flex-flow: wrap;
 flex-flow: wrap-reverse;
 
-/* flex-flow: <'flex-direction'> および <'flex-wrap'> */
+/* flex-flow: <'flex-direction'> および <'flex-wrap'> */
 flex-flow: row nowrap;
 flex-flow: column wrap;
 flex-flow: column-reverse wrap-reverse;
@@ -38,53 +45,42 @@ flex-flow: column-reverse wrap-reverse;
 /* グローバル値 */
 flex-flow: inherit;
 flex-flow: initial;
+flex-flow: revert;
 flex-flow: unset;
-
+``` + +### 値 -

+値に関して詳しくは、 {{cssxref("flex-direction")}} および {{cssxref("flex-wrap")}} をご覧ください。 -

値に関して詳しくは、 {{cssxref("flex-direction")}} および {{cssxref("flex-wrap")}} をご覧ください。

+## 公式定義 -

形式文法

+{{cssinfo}} + +## 形式文法 {{csssyntax}} -

+## 例 + +### column-reverse と wrap の設定 -
element {
+```css
+element {
   /* main-axis は block 方向で、 main-start と main-end を逆にします。フレックスアイテムは複数行にレイアウトされます */
   flex-flow: column-reverse wrap;
 }
-
- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{ SpecName('CSS3 Flexbox','#flex-flow-property','flex-flow') }}{{ Spec2('CSS3 Flexbox') }}初回定義
- -

{{cssinfo}}

- -

ブラウザーの対応

- -

{{Compat("css.properties.flex-flow")}}

- -

関連情報

- - +``` + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +## 関連情報 + +- CSS フレックスボックスガイド: _[フレックスボックスの基本概念](/ja/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox)_ +- CSS フレックスボックスガイド: _[フレックスアイテムの順序](/ja/docs/Web/CSS/CSS_Flexible_Box_Layout/Ordering_Flex_Items)_ -- cgit v1.2.3-54-g00ecf