diff options
| author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-16 23:03:12 +0900 |
|---|---|---|
| committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-28 02:23:38 +0900 |
| commit | 60367cb41ff3291f2d5c1a03feeb26645c7cd336 (patch) | |
| tree | 3f3584b14df1fcd22d34046051776f60fe40e347 /files/ja/web/css/margin-block-end/index.html | |
| parent | 7f9cc6de0a0d289fc95597089260abcdb5abcf8e (diff) | |
| download | translated-content-60367cb41ff3291f2d5c1a03feeb26645c7cd336.tar.gz translated-content-60367cb41ff3291f2d5c1a03feeb26645c7cd336.tar.bz2 translated-content-60367cb41ff3291f2d5c1a03feeb26645c7cd336.zip | |
CSS 論理的プロパティのボックスモデルのプロパティを変換準備
Diffstat (limited to 'files/ja/web/css/margin-block-end/index.html')
| -rw-r--r-- | files/ja/web/css/margin-block-end/index.html | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/files/ja/web/css/margin-block-end/index.html b/files/ja/web/css/margin-block-end/index.html deleted file mode 100644 index a5ce96938f..0000000000 --- a/files/ja/web/css/margin-block-end/index.html +++ /dev/null @@ -1,108 +0,0 @@ ---- -title: margin-block-end -slug: Web/CSS/margin-block-end -tags: - - CSS - - CSS Logical Property - - CSS Property - - CSS プロパティ - - CSS 論理的プロパティ - - Experimental - - NeedsContent - - Reference - - margin-block - - margin-block-end -translation_of: Web/CSS/margin-block-end ---- -<div>{{CSSRef}}{{SeeCompatTable}}</div> - -<p><strong><code>margin-block-end</code></strong> は <a href="/ja/docs/Web/CSS" title="CSS">CSS</a> のプロパティで、要素のインライン方向の論理的な先頭側のマージンを定義し、それが要素の書字方向やテキストの方向に応じて物理的なマージンに対応付けられます。</p> - -<div>{{EmbedInteractiveExample("pages/css/margin-block-end.html")}}</div> - -<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="brush:css no-line-numbers">/* <length> 値 */ -margin-block-end: 10px; /* 絶対的な長さ */ -margin-block-end: 1em; /* テキストの大きさに対する相対値 */ -margin-block-end: 5%; /* 直近のブロックコンテナーの大きさに対する相対値 */ - -/* キーワード値 */ -margin-block-end: auto; - -/* グローバル値 */ -margin-block-end: inherit; -margin-block-end: initial; -margin-block-end: unset; -</pre> - -<p>これは {{cssxref("margin-top")}}, {{cssxref("margin-right")}}, {{cssxref("margin-bottom")}}, {{cssxref("margin-left")}} の何れかのプロパティに対応し、どれに対応するかは {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値によって決まります。</p> - -<p>関連プロパティとして、要素の他のマージンを定義する {{cssxref("margin-block-start")}}, {{cssxref("margin-inline-start")}}, {{cssxref("margin-inline-end")}} があります。</p> - -<p>{{cssinfo}}</p> - -<h3 id="Values" name="Values">値</h3> - -<p><code>margin-block-end</code> プロパティは {{cssxref("margin-left")}} プロパティと同じ値を取ります。</p> - -<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> - -{{csssyntax}} - -<h2 id="Example" name="Example">例</h2> - -<h3 id="HTML">HTML</h3> - -<pre class="brush: html"><div> - <p class="exampleText">Example text</p> -</div> -</pre> - -<h3 id="CSS">CSS</h3> - -<pre class="brush: css">div { - background-color: yellow; - width: 120px; - height: 120px; -} - -.exampleText { - writing-mode: vertical-lr; - margin-block-end: 20px; - background-color: #c8c800; -}</pre> - -<p>{{EmbedLiveSample("Example", 140, 140)}}</p> - -<h2 id="Specification" name="Specification">仕様書</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("CSS Logical Properties", "#propdef-margin-block-end", "margin-block-end")}}</td> - <td>{{Spec2("CSS Logical Properties")}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat("css.properties.margin-block-end")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>対応付け先の物理的なプロパティ: {{cssxref("margin-top")}}, {{cssxref("margin-right")}}, {{cssxref("margin-bottom")}}, {{cssxref("margin-left")}}</li> - <li>{{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}}</li> -</ul> |
