From 13d5a6ac4d1770e0e135f1b05a2ee8a0d9c1774d Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Wed, 24 Nov 2021 08:12:54 +0900 Subject: flex 値のリファレンスを変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/flex_value/index.md | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 files/ja/web/css/flex_value/index.md (limited to 'files/ja/web/css/flex_value/index.md') diff --git a/files/ja/web/css/flex_value/index.md b/files/ja/web/css/flex_value/index.md new file mode 100644 index 0000000000..642c6e441f --- /dev/null +++ b/files/ja/web/css/flex_value/index.md @@ -0,0 +1,57 @@ +--- +title: +slug: Web/CSS/flex_value +tags: + - CSS + - CSS Data Type + - CSS データ型 + - Layout + - Reference + - Web + - ウェブ + - リファレンス + - レイアウト +translation_of: Web/CSS/flex_value +--- +
{{CSSRef}}
+ +

CSS<flex> データ型 は、グリッドコンテナー内部における可変の長さです。 {{cssxref("grid-template-columns")}} や {{cssxref("grid-template-rows")}} 及びほかの関連プロパティで使われます。

+ +

構文

+ +

<flex> データ型は {{cssxref("<number>")}} のあとに単位 fr が付きます。すべての CSS dimensions と同様に、数値と単位の間に空白は入れません。

+ +

+ +
1fr    /* 整数値の使用 */
+2.5fr  /* 浮動小数点値の使用 */
+
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("CSS Grid", "#typedef-flex", "<flex>")}}{{Spec2("CSS Grid")}}初回定義
+ +

ブラウザーの対応

+ +

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

+ +

関連情報

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