CSS border-inline-end-color Property
Description
The border-inline-end-color
is a CSS property used to define the color of the border on the inline-end side of an element, which depends on the writing mode and direction of the text. In a left-to-right language like English, it would control the color of the right border, while in a right-to-left language like Arabic, it would affect the left border. This property is part of the CSS Logical Properties and Values Module, introduced to make web design more adaptable to various writing directions and languages, allowing developers to create more flexible and responsive layouts.
- Initial value
- currentcolor
- Applies to
- all elements
- Inherited
- no
- Computed value
- computed color
- Animatable
- by computed value type
- JavaScript syntax
- object.style.borderInlineEndColor
Interactive Demo
Inline End Color Property
Syntax
border-inline-end-color: <color>
Values
- <color>Specifies the color of the border
Example
<div>This is a box with a border around it.</div>
div {
background-color:#eee;
color:#8b008b;
padding:.75em;
width:300px;
height:100px;
border-inline-end: 4px dashed;
border-inline-end-color: green;
}
Browser Support
The following table will show you the current browser support for the CSS border-inline-end-color
property.
Desktop | |||||
79 | 69 | 41 | 56 | 12.1 |
Tablets / Mobile | |||||
69 | 41 | 48 | 12.2 | 10 | 69 |
Last updated by CSSPortal on: 1st January 2024