aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/border-inline-width
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-width
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-width')
-rw-r--r--files/ja/web/css/border-inline-width/index.md109
1 files changed, 52 insertions, 57 deletions
diff --git a/files/ja/web/css/border-inline-width/index.md b/files/ja/web/css/border-inline-width/index.md
index 23969d144c..df056a6d0c 100644
--- a/files/ja/web/css/border-inline-width/index.md
+++ b/files/ja/web/css/border-inline-width/index.md
@@ -4,52 +4,63 @@ slug: Web/CSS/border-inline-width
tags:
- CSS
- CSS Logical Property
- - CSS Property
- CSS プロパティ
- - CSS 論理的プロパティ
- - Experimental
+ - 実験的
- Reference
+ - recipe:css-property
+browser-compat: css.properties.border-inline-width
translation_of: Web/CSS/border-inline-width
---
-<div>{{CSSRef}}{{SeeCompatTable}}</div>
+{{CSSRef}}
-<p><strong><code>border-inline-width</code></strong> は <a href="/ja/docs/Web/CSS" title="CSS">CSS</a> のプロパティで、要素の論理的なインライン方向の境界の幅を定義し、それが要素の書字方向やテキストの方向に応じて物理的な境界の幅に対応付けられます。これは {{cssxref("border-top-width")}} と {{cssxref("border-bottom-width")}}、または {{cssxref("border-left-width")}} と {{cssxref("border-right-width")}} の組み合わせのどちらか対応し、どちらに対応するかは {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値によって決まります。</p>
+**`border-inline-width`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素の論理的なインライン方向の境界の幅を定義し、それが要素の書字方向やテキストの方向に応じて物理的な境界の幅に対応付けられます。これは {{cssxref("border-top-width")}} と {{cssxref("border-bottom-width")}}、または {{cssxref("border-left-width")}} と {{cssxref("border-right-width")}} の組み合わせのどちらかに対応し、どちらに対応するかは {{cssxref("writing-mode")}}、{{cssxref("direction")}}、{{cssxref("text-orientation")}} で定義された値によって決まります。
-<pre class="brush:css no-line-numbers">/* &lt;'border-width'&gt; 値 */
+{{EmbedInteractiveExample("pages/css/border-inline-width.html")}}
+
+他の方向の境界の幅については {{cssxref("border-block-width")}} で設定することができ、これは {{cssxref("border-block-start-width")}} および {{cssxref("border-block-end-width")}} を設定することができます。
+
+## 構文
+
+```css
+/* <'border-width'> 値 */
border-inline-width: 5px 10px;
border-inline-width: 5px;
border-inline-width: thick;
-</pre>
-<p>他の方向の境界の幅については、 {{cssxref("border-block-width")}} によって、 {{cssxref("border-block-start-width")}} と {{cssxref("border-block-end-width")}} を設定することができます。</p>
+/* グローバル値 */
+border-inline-width: inherit;
+border-inline-width: initial;
+border-inline-width: revert;
+border-inline-width: unset;
+```
-<p>{{cssinfo}}</p>
+### 値
-<h2 id="Syntax" name="Syntax">構文</h2>
+- `<'border-width'>`
+ - : 境界の幅です。 {{cssxref("border-width")}} を参照してください。
-<h3 id="Values" name="Values">値</h3>
+## 公式定義
-<dl>
- <dt><code>&lt;'border-width'&gt;</code></dt>
- <dd>境界の幅です。 {{cssxref("border-width")}} を参照してください。</dd>
-</dl>
+{{CSSInfo}}
-<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
+## 形式文法
{{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;
@@ -59,36 +70,20 @@ border-inline-width: thick;
writing-mode: vertical-lr;
border: 1px solid blue;
border-inline-width: 5px 10px;
-}</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-width", "border-inline-width")}}</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-width")}}</p>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li>このプロパティは {{cssxref("border-top-width")}}, {{cssxref("border-right-width")}}, {{cssxref("border-bottom-width")}}, {{cssxref("border-left-width")}} のうちの1つに対応します</li>
- <li>{{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}}</li>
-</ul>
+}
+```
+
+{{EmbedLiveSample("Examples", 140, 140)}}
+
+## 仕様書
+
+{{Specifications}}
+
+## ブラウザーの互換性
+
+{{Compat}}
+
+## 関連情報
+
+- このプロパティは {{cssxref("border-top-width")}}、{{cssxref("border-right-width")}}、{{cssxref("border-bottom-width")}}、{{cssxref("border-left-width")}} のうちの 1 つに対応します
+- {{cssxref("writing-mode")}}、{{cssxref("direction")}}、{{cssxref("text-orientation")}}