diff options
| author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-08 00:46:41 +0900 |
|---|---|---|
| committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-15 23:58:38 +0900 |
| commit | b5dcea43eb1d9e42283f42a6edcd52ae3208cf23 (patch) | |
| tree | d69d318b0e9c37aa7dda168d10b2611d5c9349d5 /files/ja/web/css/padding-left/index.html | |
| parent | fb72298beae301c207efc5efd288438cc4e76410 (diff) | |
| download | translated-content-b5dcea43eb1d9e42283f42a6edcd52ae3208cf23.tar.gz translated-content-b5dcea43eb1d9e42283f42a6edcd52ae3208cf23.tar.bz2 translated-content-b5dcea43eb1d9e42283f42a6edcd52ae3208cf23.zip | |
CSS Box Model のプロパティの変換準備
Diffstat (limited to 'files/ja/web/css/padding-left/index.html')
| -rw-r--r-- | files/ja/web/css/padding-left/index.html | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/files/ja/web/css/padding-left/index.html b/files/ja/web/css/padding-left/index.html deleted file mode 100644 index 589c502943..0000000000 --- a/files/ja/web/css/padding-left/index.html +++ /dev/null @@ -1,108 +0,0 @@ ---- -title: padding-left -slug: Web/CSS/padding-left -tags: - - CSS - - CSS Padding - - CSS Property - - Reference - - 'recipe:css-property' -translation_of: Web/CSS/padding-left ---- -<div>{{CSSRef}}</div> - -<p><strong><code>padding-left</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-left.html")}}</div> - -<div class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</div> - -<p>要素のパディング領域とは、コンテンツと境界線の間の領域のことです。</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">/* <length> の値 */ -padding-left: 0.5em; -padding-left: 0; -padding-left: 2cm; - -/* <percentage> の値 */ -padding-left: 10%; - -/* グローバル値 */ -padding-left: inherit; -padding-left: initial; -padding-left: unset; -</pre> - -<p><code>padding-left</code> プロパティは、以下のリスト内から選択した値で指定されます。マージンとは異なり、パディングには負の数は使用できません。</p> - -<h3 id="Values" name="Values">値</h3> - -<dl> - <dt>{{cssxref("<length>")}}</dt> - <dd>固定値によるパディングの寸法です。負の数であってはいけません。</dd> - <dt>{{cssxref("<percentage>")}}</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_left_padding_using_pixels_and_percentages" name="Setting_left_padding_using_pixels_and_percentages">左パディングをピクセル数とパーセント値で設定</h3> - -<pre class="brush: css notranslate">.content { padding-left: 5%; } -.sidebox { padding-left: 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-left', 'padding-left')}}</td> - <td>{{Spec2('CSS3 Box')}}</td> - <td>変更なし。</td> - </tr> - <tr> - <td>{{SpecName('CSS2.1', 'box.html#padding-properties', 'padding-left')}}</td> - <td>{{Spec2('CSS2.1')}}</td> - <td>変更なし。</td> - </tr> - <tr> - <td>{{Specname('CSS1', '#padding-left', 'padding-left')}}</td> - <td>{{Spec2('CSS1')}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat("css.properties.padding-left")}}</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-bottom")}} および {{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> |
