aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/padding-bottom/index.md
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-11-08 00:46:41 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2021-11-15 23:58:38 +0900
commitb5dcea43eb1d9e42283f42a6edcd52ae3208cf23 (patch)
treed69d318b0e9c37aa7dda168d10b2611d5c9349d5 /files/ja/web/css/padding-bottom/index.md
parentfb72298beae301c207efc5efd288438cc4e76410 (diff)
downloadtranslated-content-b5dcea43eb1d9e42283f42a6edcd52ae3208cf23.tar.gz
translated-content-b5dcea43eb1d9e42283f42a6edcd52ae3208cf23.tar.bz2
translated-content-b5dcea43eb1d9e42283f42a6edcd52ae3208cf23.zip
CSS Box Model のプロパティの変換準備
Diffstat (limited to 'files/ja/web/css/padding-bottom/index.md')
-rw-r--r--files/ja/web/css/padding-bottom/index.md110
1 files changed, 110 insertions, 0 deletions
diff --git a/files/ja/web/css/padding-bottom/index.md b/files/ja/web/css/padding-bottom/index.md
new file mode 100644
index 0000000000..8aa21ff9bb
--- /dev/null
+++ b/files/ja/web/css/padding-bottom/index.md
@@ -0,0 +1,110 @@
+---
+title: padding-bottom
+slug: Web/CSS/padding-bottom
+tags:
+ - CSS
+ - CSS Padding
+ - CSS Property
+ - Reference
+ - 'recipe:css-property'
+translation_of: Web/CSS/padding-bottom
+---
+<div>{{CSSRef}}</div>
+
+<p><strong><code>padding-bottom</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> のプロパティで、要素の<a href="/ja/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model#padding-area">パディング領域</a>における下側の高さを設定します。</p>
+
+<div>{{EmbedInteractiveExample("pages/css/padding-bottom.html")}}</div>
+
+<div class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</div>
+
+<p>要素のパディング領域とは、コンテンツと境界線の間の領域のことです。</p>
+
+<p><img alt="CSS の padding-bottom プロパティの要素ボックスへの影響" src="/files/4109/padding-bottom.svg" style="border-style: solid; border-width: 1px; display: block; margin: 0px auto;"></p>
+
+<div class="note">
+<p><strong>注:</strong> {{cssxref("padding")}} プロパティは、単一の宣言で要素の四方のパディングをすべて設定することができます。</p>
+</div>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="brush:css no-line-numbers notranslate">/* &lt;length&gt; の値 */
+padding-bottom: 0.5em;
+padding-bottom: 0;
+padding-bottom: 2cm;
+
+/* &lt;percentage&gt; の値 */
+padding-bottom: 10%;
+
+/* グローバル値 */
+padding-bottom: inherit;
+padding-bottom: initial;
+padding-bottom: unset;
+</pre>
+
+<p><code>padding-bottom</code> プロパティは、以下のリスト内から選択した値で指定されます。マージンとは異なり、パディングには負の数は使用できません。</p>
+
+<h3 id="Values" name="Values">値</h3>
+
+<dl>
+ <dt>{{cssxref("&lt;length&gt;")}}</dt>
+ <dd>固定値によるパディングの寸法です。負の数であってはいけません。</dd>
+ <dt>{{cssxref("&lt;percentage&gt;")}}</dt>
+ <dd>包含ブロックの width に対するパーセント値によるパディングの寸法です。負の数であってはいけません。</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_padding_bottom_with_pixels_and_percentages" name="Setting_padding_bottom_with_pixels_and_percentages">ピクセル数とパーセント値で下パディングを設定</h3>
+
+<pre class="brush: css notranslate">.content { padding-bottom: 5%; }
+.sidebox { padding-bottom: 10px; }
+</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('CSS3 Box', '#propdef-padding-bottom', 'padding-bottom')}}</td>
+ <td>{{Spec2('CSS3 Box')}}</td>
+ <td>変更なし。</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('CSS2.1', 'box.html#padding-properties', 'padding-bottom')}}</td>
+ <td>{{Spec2('CSS2.1')}}</td>
+ <td>変更なし。</td>
+ </tr>
+ <tr>
+ <td>{{Specname('CSS1', '#padding-bottom', 'padding-bottom')}}</td>
+ <td>{{Spec2('CSS1')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+<p>{{Compat("css.properties.padding-bottom")}}</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">CSS 基本ボックスモデルの紹介</a></li>
+ <li>{{cssxref("padding-top")}}, {{cssxref("padding-right")}}, {{cssxref("padding-left")}} および {{cssxref("padding")}} 一括指定</li>
+ <li>対応付けられる論理的プロパティ: {{cssxref("padding-block-start")}}, {{cssxref("padding-block-end")}}, {{cssxref("padding-inline-start")}}, {{cssxref("padding-inline-end")}} および一括指定の {{cssxref("padding-block")}} と {{cssxref("padding-inline")}}</li>
+</ul>