CSS border-inline-start-color Property

❮ Previous Reference Next ❯


.example1 {
  border: 10px solid blue;
  border-inline-start-color: red;

.example2 {
  writing-mode: vertical-lr;
  border: 10px solid blue;
  border-inline-start-color: red;

Hello World!


The border-inline-start-color CSS property specifies the color of the logical inline-start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation.

It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.

Default value:currentcolor
JavaScript syntax:

Standard Syntax

border-inline-start-color: color|transparent|initial|inherit|revert|revert-layer|unset;

Browser Support


Property Values

The following table describes the values of this property.

Value Description
color Specifies the color of the border inline start. Look at CSS Color Values for the list of possible color values.
transparent Allows the border inline start to be transparent, though it may occupy the space set by the border-inline-width property.
initial Sets this property to its default value.
inherit If specified, the associated element takes the computed value of its parent element animation-delay property.
revert Reverts the cascaded value of the property from its current value to the value the property
revert-layer Rollback styles to the ones specified in previous cascade layers.
unset Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.

Default CSS Property Values

selectors {
  border-inline-start-color: currentcolor;
❮ Previous Reference Next ❯