CSS Portal

CSS border-inline-start-style Property

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!

Description

The CSS property border-inline-start-style determines the drawing style used for the border on an element's inline-start edge. It is a logical property, so it targets the edge that is considered the "start" of the inline axis for the element rather than a fixed physical side. As such, this property only controls how the border is rendered (its visual pattern or style) for that specific logical edge; it does not by itself change the border's thickness or color.

Because it is logical, the actual physical side affected by border-inline-start-style depends on the page’s text flow and writing orientation. The mapping from the logical inline start to a physical side is governed by properties that control writing direction and orientation, such as writing-mode and direction. When you change those layout directions, the inline start edge can move to a different physical edge of the box, so the border style you set follows the logical edge rather than remaining stuck to a single physical side.

In the cascade and shorthand model, border-inline-start-style works together with broader and sibling border properties. It can be set independently of shorthands like border-inline and the global shorthands such as border, and it has higher specificity than a shorthand that sets multiple inline borders at once; likewise it is one aspect of the overall border rendering alongside the border’s width and color properties such as border-inline-start-width and border-inline-start-color. Border properties are not inherited, so this property affects only the element to which it is applied and participates in the normal cascade and specificity rules.

When using border-inline-start-style in design, consider how logical borders simplify internationalized layouts by adapting automatically to different writing systems and directions. Because it only defines the stylistic aspect of the edge, it is commonly used together with matching width and color settings to produce the intended visual separation. Also keep in mind how the chosen style interacts with adjacent edges and any overlapping decorations (e.g., outlines or backgrounds) to ensure clear and consistent rendering across different flow directions.

Definition

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

Interactive Demo

Example of the Border
Inline Start Style Property

Syntax

border-inline-start-style: <border-style>

Values

  • <border-style>Specifies the style of the border

Example

<div class="example">
<h2>border-inline-start-style examples</h2>
<p class="note">The inline start border appears on the left in LTR and on the right in RTL.</p>

<div class="box solid" dir="ltr">LTR - solid (border-inline-start-style: solid)</div>
<div class="box dashed" dir="ltr">LTR - dashed (border-inline-start-style: dashed)</div>
<div class="box double" dir="ltr">LTR - double (border-inline-start-style: double)</div>
<div class="box dotted" dir="rtl">RTL - dotted (border-inline-start-style: dotted)</div>
</div>
.example {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  max-width: 720px;
  margin: 24px;
}

.example h2 {
  margin: 0 0 12px 0;
  font-size: 18px;
}

.example .note {
  margin: 0 0 16px 0;
  color: #555;
  font-size: 14px;
}

.box {
  padding: 12px 16px;
  margin: 10px 0;
  background: #f8fafc;
  border-inline-start-width: 6px;
  border-inline-start-color: #0a84ff;
  border-inline-start-style: solid;
  border-radius: 6px;
}

/* Variations */
.box.dashed {
  border-inline-start-style: dashed;
  border-inline-start-color: #16a085;
}

.box.double {
  border-inline-start-style: double;
  border-inline-start-color: #8e44ad;
}

.box.dotted {
  border-inline-start-style: dotted;
  border-inline-start-color: #e67e22;
}

Browser Support

The following information will show you the current browser support for the CSS border-inline-start-style property. Hover over a browser icon to see the version that first introduced support for this CSS property.

This property is supported by all modern browsers.
Desktop
Chrome
Edge
Firefox
Opera
Safari
Tablets & Mobile
Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-

Last updated by CSSPortal on: 1st January 2026

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!