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-inline/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-inline/index.html')
-rw-r--r-- | files/ja/web/css/margin-inline/index.html | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/files/ja/web/css/margin-inline/index.html b/files/ja/web/css/margin-inline/index.html deleted file mode 100644 index 67f51f34b8..0000000000 --- a/files/ja/web/css/margin-inline/index.html +++ /dev/null @@ -1,105 +0,0 @@ ---- -title: margin-inline -slug: Web/CSS/margin-inline -tags: - - CSS - - CSS Logical Property - - CSS Property - - CSS プロパティ - - CSS 論理的プロパティ - - Experimental - - Reference - - margin-inline - - margin-inline-end - - margin-inline-start -translation_of: Web/CSS/margin-inline ---- -<div>{{CSSRef}}{{SeeCompatTable}}</div> - -<p>The <strong><code>margin-inline</code></strong> は <a href="/ja/docs/Web/CSS" title="CSS">CSS</a> のプロパティで、論理的なインライン方向の先頭と末尾のマージンを設定します。これは要素の書字方向やテキストの向きに応じて物理的なマージンに変換されます。</p> - -<pre class="brush:css no-line-numbers">/* <length> 値 */ -margin-inline: 10px 20px; /* 絶対的な長さ */ -margin-inline: 1em 2em; /* テキストの大きさに対する相対値 */ -margin-inline: 5% 2%; /* 直近のブロックコンテナーの大きさに対する相対値 */ -margin-inline: 10px; /* 先頭と末尾の両方を設定 */ - -/* キーワード値 */ -margin-inline: auto; - -/* グローバル値 */ -margin-inline: inherit; -margin-inline: initial; -margin-inline: unset; -</pre> - -<p>これらの値は、 {{CSSxRef("margin-top")}} と {{CSSxRef("margin-bottom")}}、または {{CSSxRef("margin-right")}} と {{CSSxRef("margin-left")}} プロパティに、 {{CSSxRef("writing-mode")}}, {{CSSxRef("direction")}}, {{CSSxRef("text-orientation")}} で定義された値にしたがって対応します。</p> - -<p>値は {{CSSxRef("margin-inline-start")}} と {{CSSxRef("margin-inline-end")}} で個別に設定することができます。ブロック方向のプロパティは {{CSSxRef("margin-block")}} で、 {{CSSxRef("margin-block-start")}} と {{CSSxRef("margin-block-end")}} を設定します。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<h3 id="Values" name="Values">値</h3> - -<p><code>margin-inline</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-rl; - margin-inline: 20px 40px; - 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-inline", "margin-inline")}}</td> - <td>{{Spec2("CSS Logical Properties")}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<p>{{CSSInfo}}</p> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat("css.properties.margin-inline")}}</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> |