From b5dcea43eb1d9e42283f42a6edcd52ae3208cf23 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Mon, 8 Nov 2021 00:46:41 +0900 Subject: CSS Box Model のプロパティの変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/padding-bottom/index.html | 110 ----------------------------- files/ja/web/css/padding-bottom/index.md | 110 +++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+), 110 deletions(-) delete mode 100644 files/ja/web/css/padding-bottom/index.html create mode 100644 files/ja/web/css/padding-bottom/index.md (limited to 'files/ja/web/css/padding-bottom') diff --git a/files/ja/web/css/padding-bottom/index.html b/files/ja/web/css/padding-bottom/index.html deleted file mode 100644 index 8aa21ff9bb..0000000000 --- a/files/ja/web/css/padding-bottom/index.html +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: padding-bottom -slug: Web/CSS/padding-bottom -tags: - - CSS - - CSS Padding - - CSS Property - - Reference - - 'recipe:css-property' -translation_of: Web/CSS/padding-bottom ---- -
{{CSSRef}}
- -

padding-bottomCSS のプロパティで、要素のパディング領域における下側の高さを設定します。

- -
{{EmbedInteractiveExample("pages/css/padding-bottom.html")}}
- - - -

要素のパディング領域とは、コンテンツと境界線の間の領域のことです。

- -

CSS の padding-bottom プロパティの要素ボックスへの影響

- -
-

注: {{cssxref("padding")}} プロパティは、単一の宣言で要素の四方のパディングをすべて設定することができます。

-
- -

構文

- -
/* <length> の値 */
-padding-bottom: 0.5em;
-padding-bottom: 0;
-padding-bottom: 2cm;
-
-/* <percentage> の値 */
-padding-bottom: 10%;
-
-/* グローバル値 */
-padding-bottom: inherit;
-padding-bottom: initial;
-padding-bottom: unset;
-
- -

padding-bottom プロパティは、以下のリスト内から選択した値で指定されます。マージンとは異なり、パディングには負の数は使用できません。

- -

- -
-
{{cssxref("<length>")}}
-
固定値によるパディングの寸法です。負の数であってはいけません。
-
{{cssxref("<percentage>")}}
-
包含ブロックの width に対するパーセント値によるパディングの寸法です。負の数であってはいけません。
-
- -

公式定義

- -

{{cssinfo}}

- -

形式文法

- -{{csssyntax}} - -

- -

ピクセル数とパーセント値で下パディングを設定

- -
.content { padding-bottom: 5%; }
-.sidebox { padding-bottom: 10px; }
-
- -

仕様書

- - - - - - - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('CSS3 Box', '#propdef-padding-bottom', 'padding-bottom')}}{{Spec2('CSS3 Box')}}変更なし。
{{SpecName('CSS2.1', 'box.html#padding-properties', 'padding-bottom')}}{{Spec2('CSS2.1')}}変更なし。
{{Specname('CSS1', '#padding-bottom', 'padding-bottom')}}{{Spec2('CSS1')}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("css.properties.padding-bottom")}}

- -

関連情報

- - 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 +--- +
{{CSSRef}}
+ +

padding-bottomCSS のプロパティで、要素のパディング領域における下側の高さを設定します。

+ +
{{EmbedInteractiveExample("pages/css/padding-bottom.html")}}
+ + + +

要素のパディング領域とは、コンテンツと境界線の間の領域のことです。

+ +

CSS の padding-bottom プロパティの要素ボックスへの影響

+ +
+

注: {{cssxref("padding")}} プロパティは、単一の宣言で要素の四方のパディングをすべて設定することができます。

+
+ +

構文

+ +
/* <length> の値 */
+padding-bottom: 0.5em;
+padding-bottom: 0;
+padding-bottom: 2cm;
+
+/* <percentage> の値 */
+padding-bottom: 10%;
+
+/* グローバル値 */
+padding-bottom: inherit;
+padding-bottom: initial;
+padding-bottom: unset;
+
+ +

padding-bottom プロパティは、以下のリスト内から選択した値で指定されます。マージンとは異なり、パディングには負の数は使用できません。

+ +

+ +
+
{{cssxref("<length>")}}
+
固定値によるパディングの寸法です。負の数であってはいけません。
+
{{cssxref("<percentage>")}}
+
包含ブロックの width に対するパーセント値によるパディングの寸法です。負の数であってはいけません。
+
+ +

公式定義

+ +

{{cssinfo}}

+ +

形式文法

+ +{{csssyntax}} + +

+ +

ピクセル数とパーセント値で下パディングを設定

+ +
.content { padding-bottom: 5%; }
+.sidebox { padding-bottom: 10px; }
+
+ +

仕様書

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('CSS3 Box', '#propdef-padding-bottom', 'padding-bottom')}}{{Spec2('CSS3 Box')}}変更なし。
{{SpecName('CSS2.1', 'box.html#padding-properties', 'padding-bottom')}}{{Spec2('CSS2.1')}}変更なし。
{{Specname('CSS1', '#padding-bottom', 'padding-bottom')}}{{Spec2('CSS1')}}初回定義
+ +

ブラウザーの互換性

+ +

{{Compat("css.properties.padding-bottom")}}

+ +

関連情報

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