aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/border-inline-end/index.md
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-09-30 00:00:33 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2021-10-08 02:03:11 +0900
commita5945c319772579f34e35c90c3b61b55e25a8468 (patch)
treef7d0850e016d7db17f964baf263c615ed42f2299 /files/ja/web/css/border-inline-end/index.md
parent4118e39aa1248b8266355954fb7cdae3ece621f1 (diff)
downloadtranslated-content-a5945c319772579f34e35c90c3b61b55e25a8468.tar.gz
translated-content-a5945c319772579f34e35c90c3b61b55e25a8468.tar.bz2
translated-content-a5945c319772579f34e35c90c3b61b55e25a8468.zip
border-inline-* プロパティを更新
- 2021/08/13 時点の英語版に同期
Diffstat (limited to 'files/ja/web/css/border-inline-end/index.md')
-rw-r--r--files/ja/web/css/border-inline-end/index.md129
1 files changed, 64 insertions, 65 deletions
diff --git a/files/ja/web/css/border-inline-end/index.md b/files/ja/web/css/border-inline-end/index.md
index f788b59958..4a7c6b472f 100644
--- a/files/ja/web/css/border-inline-end/index.md
+++ b/files/ja/web/css/border-inline-end/index.md
@@ -4,68 +4,83 @@ slug: Web/CSS/border-inline-end
tags:
- CSS
- CSS Logical Property
- - CSS Property
- CSS プロパティ
- - CSS 論理的プロパティ
- - Experimental
+ - 実験的
- Reference
- border-inline
- border-inline-end
- border-inline-end-color
- border-inline-end-style
- border-inline-end-width
+ - recipe:css-shorthand-property
+browser-compat: css.properties.border-inline-end
translation_of: Web/CSS/border-inline-end
---
-<div>{{CSSRef}}{{SeeCompatTable}}</div>
+{{CSSRef}}
-<p><strong><code>border-inline-end</code></strong> は <a href="/ja/docs/Web/CSS" title="CSS">CSS</a> のプロパティで、個々の論理的なインライン方向の末尾側境界のプロパティ値を、スタイルシート内の単一の場所で設定するための<a href="/ja/docs/Web/CSS/Shorthand_properties">一括指定プロパティ</a>です。</p>
+**`border-inline-end`** は [CSS](/ja/docs/Web/CSS) のプロパティで、個々の論理的なインライン方向の末尾側境界のプロパティ値を、スタイルシート内の単一の場所で設定するための[一括指定プロパティ](/ja/docs/Web/CSS/Shorthand_properties)です。
-<div>{{EmbedInteractiveExample("pages/css/border-inline-end.html")}}</div>
+{{EmbedInteractiveExample("pages/css/border-inline-end.html")}}
-<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>
+このプロパティは以下の CSS プロパティの一括指定です。
-<pre class="brush:css no-line-numbers">border-inline-end: 1px;
+- [`border-inline-end-color`](/ja/docs/Web/CSS/border-inline-end-color)
+- [`border-inline-end-style`](/ja/docs/Web/CSS/border-inline-end-style)
+- [`border-inline-end-width`](/ja/docs/Web/CSS/border-inline-end-width)
+
+## 構文
+
+```css
+border-inline-end: 1px;
border-inline-end: 2px dashed;
border-inline-end: medium dashed blue;
-</pre>
-<p><code>border-inline-end</code> は1つ以上の {{cssxref("border-inline-end-width")}}, {{cssxref("border-inline-end-style")}}, {{cssxref("border-inline-end-color")}} の値の組み合わせを使用することができます。対応付けられる物理的な境界は、書字方向やテキストの向きによって決まります。これは {{cssxref("border-top")}}, {{cssxref("border-right")}}, {{cssxref("border-bottom")}}, {{cssxref("border-left")}} の何れかに対応し、どれに対応するかは {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値によって決まります。</p>
+/* グローバル値 */
+border-inline-end: inherit;
+border-inline-end: initial;
+border-inline-end: revert;
+border-inline-end: unset;
+```
+
+`border-inline-end` が対応付けられる物理的な境界は、書字方向やテキストの向きによって決まります。これは {{cssxref("border-top")}}、{{cssxref("border-right")}}、{{cssxref("border-bottom")}}、{{cssxref("border-left")}} の何れかに対応し、どれに対応するかは {{cssxref("writing-mode")}}、{{cssxref("direction")}}、{{cssxref("text-orientation")}} で定義された値によって決まります。
-<p>関連するプロパティとしては、 {{cssxref("border-block-start")}}, {{cssxref("border-block-end")}}, {{cssxref("border-inline-start")}} が要素の他の境界を定義します。</p>
+関連するプロパティとしては、 {{cssxref("border-block-start")}}、{{cssxref("border-block-end")}}、{{cssxref("border-inline-start")}} が要素の他の境界を定義します。
-<p>{{cssinfo}}</p>
+### 値
-<h3 id="Values" name="Values">値</h3>
+`border-inline-end` は以下の値のうちの1つ以上を任意の順序で指定します。
-<p><code>border-inline-end</code> は以下の値のうちの1つ以上を任意の順序で指定します。</p>
+- `<'border-width'>`
+ - : 境界の幅です。 {{cssxref("border-width")}} を参照してください。
+- `<'border-style'>`
+ - : 境界線のスタイルです。 {{cssxref("border-style")}} を参照してください。
+- `<'color'>`
+ - : 境界の色です。 {{cssxref("color")}} を参照してください。
-<dl>
- <dt><code>&lt;'border-width'&gt;</code></dt>
- <dd>境界の幅です。 {{cssxref("border-width")}} を参照してください。</dd>
- <dt><code>&lt;'border-style'&gt;</code></dt>
- <dd>境界線のスタイルです。 {{cssxref("border-style")}} を参照してください。</dd>
- <dt><code>&lt;'color'&gt;</code></dt>
- <dd>境界の色です。 {{cssxref("color")}} を参照してください。</dd>
-</dl>
+## 公式定義
-<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
+{{CSSInfo}}
+
+## 形式文法
{{csssyntax}}
-<h2 id="Example" name="Example">例</h2>
+<h2 id="Examples">例</h2>
-<h3 id="HTML">HTML</h3>
+### HTML
-<pre class="brush: html">&lt;div&gt;
- &lt;p class="exampleText"&gt;Example text&lt;/p&gt;
-&lt;/div&gt;
-</pre>
+```html
+<div>
+ <p class="exampleText">Example text</p>
+</div>
+```
-<h3 id="CSS">CSS</h3>
+### CSS
-<pre class="brush: css">div {
+```css
+div {
background-color: yellow;
width: 120px;
height: 120px;
@@ -74,36 +89,20 @@ border-inline-end: medium dashed blue;
.exampleText {
writing-mode: vertical-rl;
border-inline-end: 5px dashed blue;
-}</pre>
-
-<p>{{EmbedLiveSample("Example", 140, 140)}}</p>
-
-<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("CSS Logical Properties", "#propdef-border-inline-end", "border-inline-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.border-inline-end")}}</p>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li>このプロパティは {{cssxref("border-top")}}, {{cssxref("border-right")}}, {{cssxref("border-bottom")}}, {{cssxref("border-left")}} のうちの一つに対応付けられます。</li>
- <li>{{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}}</li>
-</ul>
+}
+```
+
+{{EmbedLiveSample("Examples", 140, 140)}}
+
+## 仕様書
+
+{{Specifications}}
+
+## ブラウザーの互換性
+
+{{Compat}}
+
+## 関連情報
+
+- このプロパティは {{cssxref("border-top")}}、{{cssxref("border-right")}}、{{cssxref("border-bottom")}}、{{cssxref("border-left")}} のうちの 1 つに対応付けられます。
+- {{cssxref("writing-mode")}}、{{cssxref("direction")}}、{{cssxref("text-orientation")}}