diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-16 22:24:44 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-28 02:23:26 +0900 |
commit | b2dc12a85f5414464594621c500e1c13ee8dab8e (patch) | |
tree | 183a8cb5dbe91b3e79e38c18e8428f7d7eed17b7 /files/ja/web/css/inline-size/index.html | |
parent | daa81b81edd012cf4f7882c81aa2ae31a7e0d3f2 (diff) | |
download | translated-content-b2dc12a85f5414464594621c500e1c13ee8dab8e.tar.gz translated-content-b2dc12a85f5414464594621c500e1c13ee8dab8e.tar.bz2 translated-content-b2dc12a85f5414464594621c500e1c13ee8dab8e.zip |
CSS 論理的プロパティの寸法のプロパティを変換準備
Diffstat (limited to 'files/ja/web/css/inline-size/index.html')
-rw-r--r-- | files/ja/web/css/inline-size/index.html | 104 |
1 files changed, 0 insertions, 104 deletions
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 ---- -<div>{{CSSRef}}</div> - -<p><strong><code>inline-size</code></strong> は <a href="/ja/docs/Web/CSS" title="CSS">CSS</a> のプロパティで、書字方向に応じた要素ブロックの水平または垂直方向の寸法を定義します。これは {{cssxref("width")}} または {{cssxref("height")}} プロパティに相当し、 {{cssxref("writing-mode")}} の値によって変わります。</p> - -<p>書字方向が垂直方向であった場合、 <code>inline-size</code> の値は要素の高さに対応し、水平方向であった場合は要素の幅に対応します。関連プロパティの {{cssxref("block-size")}} が要素のもう一方の寸法を定義します。</p> - -<div>{{EmbedInteractiveExample("pages/css/inline-size.html")}}</div> - -<div class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</div> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="brush:css no-line-numbers notranslate">/* <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; -</pre> - -<h3 id="Values" name="Values">値</h3> - -<p><code>inline-size</code> プロパティは、{{cssxref("width")}} や {{cssxref("height")}} プロパティと同じ値を取ります。</p> - -<h2 id="Formal_definition" name="Formal_definition">公式定義</h2> - -<p>{{cssinfo}}</p> - -<h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> - -{{csssyntax}} - -<h2 id="Examples" name="Examples">例</h2> - -<h3 id="Setting_inline_size_in_pixels" name="Setting_inline_size_in_pixels">インライン方向の寸法をピクセル単位で設定</h3> - -<h4 id="HTML">HTML</h4> - -<pre class="brush: html notranslate"><p class="exampleText">Example text</p> -</pre> - -<h4 id="CSS">CSS</h4> - -<pre class="brush: css notranslate">.exampleText { - writing-mode: vertical-rl; - background-color: yellow; - inline-size: 110px; -}</pre> - -<h4 id="Result">Result</h4> - -<p>{{EmbedLiveSample("Setting_inline_size_in_pixels")}}</p> - -<h2 id="Specifications" name="Specifications">仕様書</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">仕様書</th> - <th scope="col">状態</th> - <th scope="col">備考</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName("CSS Logical Properties", "#logical-dimension-properties", "inline-size")}}</td> - <td>{{Spec2("CSS Logical Properties")}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat("css.properties.inline-size")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>対応付けされる物理的プロパティ: {{cssxref("width")}} および {{cssxref("height")}}</li> - <li>{{cssxref("writing-mode")}}</li> -</ul> |