From b2dc12a85f5414464594621c500e1c13ee8dab8e Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 16 Nov 2021 22:24:44 +0900 Subject: CSS 論理的プロパティの寸法のプロパティを変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/inline-size/index.html | 104 -------------------------------- 1 file changed, 104 deletions(-) delete mode 100644 files/ja/web/css/inline-size/index.html (limited to 'files/ja/web/css/inline-size/index.html') diff --git a/files/ja/web/css/inline-size/index.html b/files/ja/web/css/inline-size/index.html deleted file mode 100644 index 75634e9a7b..0000000000 --- a/files/ja/web/css/inline-size/index.html +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: inline-size -slug: Web/CSS/inline-size -tags: - - CSS - - CSS Logical Property - - CSS Property - - Reference - - 'recipe:css-property' -translation_of: Web/CSS/inline-size ---- -
{{CSSRef}}
- -

inline-sizeCSS のプロパティで、書字方向に応じた要素ブロックの水平または垂直方向の寸法を定義します。これは {{cssxref("width")}} または {{cssxref("height")}} プロパティに相当し、 {{cssxref("writing-mode")}} の値によって変わります。

- -

書字方向が垂直方向であった場合、 inline-size の値は要素の高さに対応し、水平方向であった場合は要素の幅に対応します。関連プロパティの {{cssxref("block-size")}} が要素のもう一方の寸法を定義します。

- -
{{EmbedInteractiveExample("pages/css/inline-size.html")}}
- - - -

構文

- -
/* <length> 値 */
-inline-size: 300px;
-inline-size: 25em;
-
-/* <percentage> 値 */
-inline-size: 75%;
-
-/* キーワード値 */
-inline-size: max-content;
-inline-size: min-content;
-inline-size: fit-content(20em);
-inline-size: auto;
-
-/* グローバル値 */
-inline-size: inherit;
-inline-size: initial;
-inline-size: unset;
-
- -

- -

inline-size プロパティは、{{cssxref("width")}} や {{cssxref("height")}} プロパティと同じ値を取ります。

- -

公式定義

- -

{{cssinfo}}

- -

形式文法

- -{{csssyntax}} - -

- -

インライン方向の寸法をピクセル単位で設定

- -

HTML

- -
<p class="exampleText">Example text</p>
-
- -

CSS

- -
.exampleText {
-  writing-mode: vertical-rl;
-  background-color: yellow;
-  inline-size: 110px;
-}
- -

Result

- -

{{EmbedLiveSample("Setting_inline_size_in_pixels")}}

- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("CSS Logical Properties", "#logical-dimension-properties", "inline-size")}}{{Spec2("CSS Logical Properties")}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("css.properties.inline-size")}}

- -

関連情報

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