--- title: border-inline-end-width 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 translation_of: Web/CSS/border-inline-end-width ---
{{CSSRef}}{{SeeCompatTable}}

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")}} で定義された値によって決まります。

{{EmbedInteractiveExample("pages/css/border-inline-end-width.html")}}

構文

/* <'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")}} が要素の他の境界の幅を定義します。

{{cssinfo}}

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

形式文法

{{csssyntax}}

HTML

<div>
  <p class="exampleText">Example text</p>
</div>

CSS

div {
  background-color: yellow;
  width: 120px;
  height: 120px;
}

.exampleText {
  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")}}

関連情報