From a5945c319772579f34e35c90c3b61b55e25a8468 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Thu, 30 Sep 2021 00:00:33 +0900 Subject: border-inline-* プロパティを更新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 2021/08/13 時点の英語版に同期 --- files/ja/web/css/border-inline-width/index.md | 109 ++++++++++++-------------- 1 file changed, 52 insertions(+), 57 deletions(-) (limited to 'files/ja/web/css/border-inline-width') 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 --- -
{{CSSRef}}{{SeeCompatTable}}
+{{CSSRef}} -

border-inline-widthCSS のプロパティで、要素の論理的なインライン方向の境界の幅を定義し、それが要素の書字方向やテキストの方向に応じて物理的な境界の幅に対応付けられます。これは {{cssxref("border-top-width")}} と {{cssxref("border-bottom-width")}}、または {{cssxref("border-left-width")}} と {{cssxref("border-right-width")}} の組み合わせのどちらか対応し、どちらに対応するかは {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値によって決まります。

+**`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")}} で定義された値によって決まります。 -
/* <'border-width'> 値 */
+{{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;
-
-

他の方向の境界の幅については、 {{cssxref("border-block-width")}} によって、 {{cssxref("border-block-start-width")}} と {{cssxref("border-block-end-width")}} を設定することができます。

+/* グローバル値 */ +border-inline-width: inherit; +border-inline-width: initial; +border-inline-width: revert; +border-inline-width: unset; +``` -

{{cssinfo}}

+### 値 -

構文

+- `<'border-width'>` + - : 境界の幅です。 {{cssxref("border-width")}} を参照してください。 -

+## 公式定義 -
-
<'border-width'>
-
境界の幅です。 {{cssxref("border-width")}} を参照してください。
-
+{{CSSInfo}} -

形式文法

+## 形式文法 {{csssyntax}} -

+

-

HTML

+### HTML -
<div>
-  <p class="exampleText">Example text</p>
-</div>
-
+```html +
+

Example text

+
+``` -

CSS

+### 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;
-}
- -

{{EmbedLiveSample("Example", 140, 140)}}

- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("CSS Logical Properties", "#propdef-border-inline-width", "border-inline-width")}}{{Spec2("CSS Logical Properties")}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("css.properties.border-inline-width")}}

- -

関連情報

- - +} +``` + +{{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")}} -- cgit v1.2.3-54-g00ecf