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-end-width/index.md | 115 +++++++++++----------- 1 file changed, 55 insertions(+), 60 deletions(-) (limited to 'files/ja/web/css/border-inline-end-width') diff --git a/files/ja/web/css/border-inline-end-width/index.md b/files/ja/web/css/border-inline-end-width/index.md index a61fcddaa5..aeba051814 100644 --- a/files/ja/web/css/border-inline-end-width/index.md +++ b/files/ja/web/css/border-inline-end-width/index.md @@ -4,59 +4,68 @@ slug: Web/CSS/border-inline-end-width tags: - CSS - CSS Logical Property - - CSS Property - CSS プロパティ - - CSS 論理的プロパティ - - Experimental + - 実験的 - Reference - border-inline - border-inline-end - border-inline-end-width - border-inline-width + - recipe:css-property +browser-compat: css.properties.border-inline-end-width translation_of: Web/CSS/border-inline-end-width --- -
{{CSSRef}}{{SeeCompatTable}}
+{{CSSRef}} -

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

+**`border-inline-end-width`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素の論理的なインライン方向の終端側の境界の幅を定義し、それが要素の書字方向やテキストの方向に応じて物理的な境界の幅に対応付けられます。これは {{cssxref("border-top-width")}}、{{cssxref("border-right-width")}}、{{cssxref("border-bottom-width")}}、{{cssxref("border-left-width")}} の何れかに対応し、どれに対応するかは {{cssxref("writing-mode")}}、{{cssxref("direction")}}、{{cssxref("text-orientation")}} で定義された値によって決まります。 -
{{EmbedInteractiveExample("pages/css/border-inline-end-width.html")}}
+{{EmbedInteractiveExample("pages/css/border-inline-end-width.html")}} - +## 構文 -

構文

- -
/* <'border-width'> 値 */
+```css
+/* <'border-width'> 値 */
 border-inline-end-width: 2px;
 border-inline-end-width: thick;
-
-

関連するプロパティとしては、 {{cssxref("border-block-start-width")}}, {{cssxref("border-block-end-width")}}, {{cssxref("border-inline-start-width")}} が要素の他の境界の幅を定義します。

+/* グローバル値 */ +border-inline-end-width: inherit; +border-inline-end-width: initial; +border-inline-end-width: revert; +border-inline-end-width: unset; +``` + +関連するプロパティとしては、 {{cssxref("border-block-start-width")}}、{{cssxref("border-block-end-width")}}、{{cssxref("border-inline-start-width")}} が要素の他の境界の幅を定義します。 -

{{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;
@@ -66,36 +75,22 @@ border-inline-end-width: thick;
   writing-mode: vertical-lr;
   border: 1px solid blue;
   border-inline-end-width: 5px;
-}
- -

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

- -

仕様書

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

ブラウザーの互換性

- -

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

- -

関連情報

- - +} +``` + +#### 結果 + +{{EmbedLiveSample("Applying_a_border_with_vertical_text", 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