--- title: border-inline-style slug: Web/CSS/border-inline-style tags: - CSS - CSS Logical Property - CSS Property - CSS プロパティ - CSS 論理的プロパティ - Experimental - Reference translation_of: Web/CSS/border-inline-style ---
border-inline-style は CSS のプロパティで、要素の論理的なインライン方向の境界のスタイルを、要素の書字方向やテキストの向きに応じて物理的な境界のスタイルに割り当てて定義します。これは {{cssxref("border-top-style")}} および {{cssxref("border-bottom-style")}}、または {{cssxref("border-left-style")}} および {{cssxref("border-right-style")}} プロパティに、 {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値に応じて対応します。
/* <'border-style'> の値 */ border-inline-style: dashed; border-inline-style: dotted; border-inline-style: groove;
他の方向の境界スタイルは {{cssxref("border-block-style")}} で設定することができ、これは {{cssxref("border-block-start-style")}} および {{cssxref("border-block-end-style")}} を定義します。
{{cssinfo}}
<'border-style'><div> <p class="exampleText">Example text</p> </div>
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-lr;
border: 5px solid blue;
border-inline-style: dashed;
}
{{EmbedLiveSample("Example", 140, 140)}}
| 仕様書 | 状態 | 備考 |
|---|---|---|
| {{SpecName("CSS Logical Properties", "#propdef-border-inline-style", "border-inline-style")}} | {{Spec2("CSS Logical Properties")}} | 初回定義。 |
{{Compat("css.properties.border-inline-style")}}