CSS border-inline-end-style Property

If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!

Description

The border-inline-end-style is a CSS property used to define the style of the inline-end border of an element. In a horizontal writing mode (e.g., left-to-right), this property controls the style of the right border, while in a vertical writing mode (e.g., top-to-bottom), it controls the style of the bottom border. You can set it to values like "solid," "dotted," "dashed," or "none" to determine the visual appearance of the border. It's particularly useful for creating complex layouts and designs that require fine-grained control over individual borders within an element.

Initial value
none
Applies to
all elements
Inherited
no
Computed value
as specified
Animatable
discrete
JavaScript syntax
object.style.borderInlineEndStyle

Interactive Demo

Example of the Border
Inline End Style Property

Syntax

border-inline-end-style: <border-style>

Values

  • <border-style>Specifies the style 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 red;
  border-inline-end-style: solid;
}

Browser Support

The following table will show you the current browser support for the CSS border-inline-end-style property.

Desktop
Edge Chrome Firefox Opera Safari
7969415612.1
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
69414812.21069

Last updated by CSSPortal on: 1st January 2024