CSS border-inline-end Property

❮ Previous Reference Next ❯

Example

.example1 {
  border-inline-end: 5px solid red;
}

.example2 {
  writing-mode: vertical-lr;
  border-inline-end: 5px solid red;
}









Hello World!

Meaning:

The border-inline-end CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet.

The following are shorthand properties of border-inline-end:

Default value:medium none currentcolor
Inherited:No
Animatable:Yes
Version:CSS4
JavaScript syntax:
object.style.borderInlineEnd="[border-inline-end-width border-inline-end-style border-inline-end-color]|initial|inherit|revert|revert-layer|unset";



Standard Syntax

border-inline-end: [border-inline-end-width border-inline-end-style border-inline-end-color]|initial|inherit|revert|revert-layer|unset;



Browser Support




Status







Property Values

The following table describes the values of this property.

Value Description
border-inline-end-width Specifies the width of the inline-end border of an element.
border-inline-end-style Specifies the style of the inline-end border of an element.
border-inline-end-color Specifies the color of the inline-end border of an element.
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-end: medium none currentcolor;
}
❮ Previous Reference Next ❯