--- title: padding-bottom slug: Web/CSS/padding-bottom tags: - CSS - CSS パディング - CSS プロパティ - リファレンス - recipe:css-property browser-compat: css.properties.padding-bottom translation_of: Web/CSS/padding-bottom --- {{CSSRef}} **`padding-bottom`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素の[パディング領域](/ja/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model#パディング領域)における下側の高さを設定します。 {{EmbedInteractiveExample("pages/css/padding-bottom.html")}} 要素のパディング領域とは、コンテンツと境界との間の領域のことです。 ![CSS の padding-bottom プロパティの要素ボックスへの影響](padding-bottom.svg) > **Note:** {{cssxref("padding")}} プロパティは、単一の宣言で要素の四方のパディングをすべて設定することができます。 ## 構文 ```css /* の値 */ padding-bottom: 0.5em; padding-bottom: 0; padding-bottom: 2cm; /* の値 */ padding-bottom: 10%; /* グローバル値 */ padding-bottom: inherit; padding-bottom: initial; padding-botom: revert; padding-bottom: unset; ``` `padding-bottom` プロパティは、以下のリストから選択した値で指定されます。マージンとは異なり、パディングには負の数は使用できません。 ### 値 - {{cssxref("<length>")}} - : パディングの寸法を固定値で表したものです。負の数であってはいけません。 - {{cssxref("<percentage>")}} - : パディングの寸法を包含ブロックの*幅*に対するパーセント値で表したものです。負の数であってはいけません。 ## 公式定義 {{cssinfo}} ## 形式文法 {{csssyntax}} ## 例 ### ピクセル数とパーセント値で下パディングを設定 ```css .content { padding-bottom: 5%; } .sidebox { padding-bottom: 10px; } ``` ## 仕様書 {{Specifications}} ## ブラウザーの互換性 {{Compat}} ## 関連情報 - [CSS 基本ボックスモデル入門](/ja/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model) - {{cssxref("padding-top")}}, {{cssxref("padding-right")}}, {{cssxref("padding-left")}} および {{cssxref("padding")}} 一括指定 - 対応付けられる論理的プロパティ: {{cssxref("padding-block-start")}}, {{cssxref("padding-block-end")}}, {{cssxref("padding-inline-start")}}, {{cssxref("padding-inline-end")}} および一括指定の {{cssxref("padding-block")}} と {{cssxref("padding-inline")}}