From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/css/flex_value/index.html | 59 ++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 files/ja/web/css/flex_value/index.html (limited to 'files/ja/web/css/flex_value') diff --git a/files/ja/web/css/flex_value/index.html b/files/ja/web/css/flex_value/index.html new file mode 100644 index 0000000000..27160362e2 --- /dev/null +++ b/files/ja/web/css/flex_value/index.html @@ -0,0 +1,59 @@ +--- +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