diff options
| author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-16 00:30:59 +0900 |
|---|---|---|
| committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-24 08:28:57 +0900 |
| commit | 7d2c0d3e42d5bc62163a415da456c07c39bd63b6 (patch) | |
| tree | cd17181753cd98c64a2a5f919639b364f25a73fd /files/ja/web/css/min-height/index.html | |
| parent | dc36f70aa600797fd07c7324f39fdde1a5ae71d9 (diff) | |
| download | translated-content-7d2c0d3e42d5bc62163a415da456c07c39bd63b6.tar.gz translated-content-7d2c0d3e42d5bc62163a415da456c07c39bd63b6.tar.bz2 translated-content-7d2c0d3e42d5bc62163a415da456c07c39bd63b6.zip | |
CSS Sizing に関するプロパティの変換準備
Diffstat (limited to 'files/ja/web/css/min-height/index.html')
| -rw-r--r-- | files/ja/web/css/min-height/index.html | 118 |
1 files changed, 0 insertions, 118 deletions
diff --git a/files/ja/web/css/min-height/index.html b/files/ja/web/css/min-height/index.html deleted file mode 100644 index 3d49776065..0000000000 --- a/files/ja/web/css/min-height/index.html +++ /dev/null @@ -1,118 +0,0 @@ ---- -title: min-height -slug: Web/CSS/min-height -tags: - - CSS - - CSS Property - - Layout - - Minimum - - Reference - - dimensions - - height - - min-height - - 'recipe:css-property' - - size -translation_of: Web/CSS/min-height ---- -<div>{{CSSRef}}</div> - -<p><strong><code>min-height</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、要素の最小幅を設定します。これは {{cssxref("height")}} プロパティの<a href="/ja/docs/Web/CSS/used_value">使用値</a>が、<code>min-height</code> で指定した値を下回ることを防ぎます。</p> - -<div>{{EmbedInteractiveExample("pages/css/min-height.html")}}</div> - -<div class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</div> - -<p><code>min-height</code> の値が {{cssxref("max-height")}} および {{cssxref("height")}} の値より大きい場合は、<code>min-height</code> の値が要素の幅になります。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="brush:css no-line-numbers notranslate">/* <length> 値 */ -min-height: 3.5em; - -/* <percentage> 値 */ -min-height: 10%; - -/* キーワード値 */ -min-height: max-content; -min-height: min-content; -min-height: fit-content(20em); - -/* グローバル値 */ -min-height: inherit; -min-height: initial; -min-height: unset; -</pre> - -<h3 id="Values" name="Values">値</h3> - -<dl> - <dt>{{cssxref("<length>")}}</dt> - <dd><code>min-height</code> を絶対的な値で定義します。</dd> - <dt>{{cssxref("<percentage>")}}</dt> - <dd><code>min-height</code> を包含ブロックの高さに対するパーセント値で定義します。</dd> - <dt><code>auto</code></dt> - <dd>ブラウザーが指定された要素の <code>min-height</code> を計算して選択します。</dd> - <dt><code>max-content</code></dt> - <dd>内容物が推奨する <code>min-height</code> です。</dd> - <dt><code>min-content</code></dt> - <dd>内容物の最小の <code>min-height</code> です。</dd> - <dt><code>fit-content({{cssxref("<length-percentage>")}})</code></dt> - <dd>利用可能な空白を指定された引数で置き換えた <code>fit-content</code> 式を使用します。すなわち、 <code>min(max-content, max(min-content, <var>引数</var>))</code> です。</dd> -</dl> - -<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_min-height" name="Setting_min-height">min-height の設定</h3> - -<pre class="brush:css; notranslate">table { min-height: 75%; } - -form { min-height: 0; } -</pre> - -<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('CSS4 Sizing', '#width-height-keywords', 'min-height')}}</td> - <td>{{Spec2('CSS4 Sizing')}}</td> - <td></td> - </tr> - <tr> - <td>{{SpecName('CSS3 Sizing', '#width-height-keywords', 'min-height')}}</td> - <td>{{Spec2('CSS3 Sizing')}}</td> - <td>キーワード <code>max-content</code>, <code>min-content</code>, <code>fit-content</code> を追加。</td> - </tr> - <tr> - <td>{{SpecName('CSS2.1', 'visudet.html#min-max-heights', 'min-height')}}</td> - <td>{{Spec2('CSS2.1')}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat("css.properties.min-height")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li><a href="/ja/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model">ボックスモデル</a>, {{cssxref("box-sizing")}}</li> - <li>{{cssxref("height")}}, {{cssxref("max-height")}}</li> -</ul> |
