CSS border-inline-start-style Property

The border-inline-start-style property sets the line style of an element's logical inline-start border, such as solid, dashed, dotted, or double.

Unlike physical border properties, the affected edge depends on the element's writing mode and text direction. This allows the border style to follow the beginning of the inline axis without requiring separate left, right, top, or bottom border rules.

border-inline-start-style Syntax

The property accepts one border-style keyword or a CSS-wide keyword.

selector {
  border-inline-start-style: solid;
}

Solid Border

.panel {
  border-inline-start-style: solid;
}

Dashed Border

.panel {
  border-inline-start-style: dashed;
}

Dotted Border

.panel {
  border-inline-start-style: dotted;
}

Double Border

.panel {
  border-inline-start-style: double;
}

No Border

.panel {
  border-inline-start-style: none;
}

CSS-Wide Keywords

.inherited {
  border-inline-start-style: inherit;
}
.reset {
  border-inline-start-style: initial;
}
.unset {
  border-inline-start-style: unset;
}
.reverted {
  border-inline-start-style: revert;
}
.layer-reverted {
  border-inline-start-style: revert-layer;
}

Only one border style can be specified in a declaration. To control multiple logical borders, use the appropriate shorthand or separate longhand properties.

Property Values

The border-inline-start-style property accepts the standard CSS border-style keywords.

Value Description
none No border is drawn. The computed border width is zero.
hidden No border is drawn. Also has special behavior in collapsed table borders.
dotted A border made of dots.
dashed A border made of short line segments.
solid A continuous single-line border.
double Two parallel solid lines separated by a gap.
groove A border with a carved or recessed appearance.
ridge A border with a raised appearance.
inset A border that makes the element appear embedded.
outset A border that makes the element appear raised.
inherit Inherits the computed style from the parent element.
initial Resets the style to none.
unset Resets the style to none because the property is not inherited.
revert Reverts the property according to cascade origin rules.
revert-layer Reverts the property according to cascade layer rules.

Property Characteristics

Characteristic Value
Initial value none
Inherited No
Applies to Elements that support the corresponding border-style properties
Computed value Specified border-style keyword
Animation type Discrete
Percentages Not applicable
Property type Longhand
Logical axis Inline axis

Border-style keywords do not accept numeric values or colors. Width and color are controlled by separate properties.

How It Works

The browser determines the logical inline-start edge and draws the specified border style on the corresponding physical side.

Step 1: Set a Border Style

.panel {
  border-inline-start-style: solid;
}

The border uses the initial medium width and currentcolor unless other declarations specify different values.

Step 2: Set the Width

.panel {
  border-inline-start-style: solid;
  border-inline-start-width: 5px;
}

The logical inline-start border becomes 5 pixels wide.

Step 3: Set the Color

.panel {
  border-inline-start-style: solid;
  border-inline-start-width: 5px;
  border-inline-start-color: #1769aa;
}

The border becomes a 5-pixel solid blue line.

Step 4: Change the Style

.panel {
  border-inline-start-style: dashed;
  border-inline-start-width: 5px;
  border-inline-start-color: #1769aa;
}

The border becomes dashed without changing its width or color.

Step 5: Change the Direction

.panel {
  direction: rtl;
  border-inline-start-style: dashed;
  border-inline-start-width: 5px;
  border-inline-start-color: #1769aa;
}

In horizontal writing mode, the dashed border moves to the right edge.

The property controls the border's appearance, while the writing mode and direction determine its location.

Writing Modes and Direction

The writing-mode and direction properties determine which physical border corresponds to inline-start.

Writing Mode Direction Physical Border
horizontal-tb ltr Left
horizontal-tb rtl Right
vertical-rl ltr Top
vertical-rl rtl Bottom
vertical-lr ltr Top
vertical-lr rtl Bottom
sideways-rl ltr Top
sideways-lr ltr Bottom

Horizontal Left-to-Right

.panel {
  writing-mode: horizontal-tb;
  direction: ltr;
  border-inline-start: 5px dashed #1769aa;
}

The dashed border appears on the left.

Horizontal Right-to-Left

.panel {
  writing-mode: horizontal-tb;
  direction: rtl;
  border-inline-start: 5px dashed #1769aa;
}

The dashed border appears on the right.

Vertical Left-to-Right Progression

.panel {
  writing-mode: vertical-rl;
  direction: ltr;
  border-inline-start: 5px dashed #1769aa;
}

The dashed border appears on the top.

Vertical Right-to-Left Progression

.panel {
  writing-mode: vertical-lr;
  direction: rtl;
  border-inline-start: 5px dashed #1769aa;
}

The dashed border appears on the bottom.

Using the HTML dir Attribute

<div dir="ltr" class="directional-panel">
  Left-to-right content
</div>
<div dir="rtl" class="directional-panel">
  Right-to-left content
</div>
.directional-panel {
  padding: 20px;
  border-inline-start-width: 5px;
  border-inline-start-style: dashed;
  border-inline-start-color: #1769aa;
}

The same CSS applies the dashed border to the correct logical starting edge of each element.

Border Style Examples

Each border-style keyword creates a different visual appearance. The examples below use the same width and color to demonstrate the differences.

none

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: none;
  border-inline-start-color: #1769aa;
}

No border is drawn. The computed border width is zero.

hidden

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: hidden;
  border-inline-start-color: #1769aa;
}

No border is drawn. In collapsed table border calculations, hidden suppresses competing borders.

dotted

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: dotted;
  border-inline-start-color: #1769aa;
}

The border consists of dots. Dot shape and spacing can vary by browser.

dashed

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: dashed;
  border-inline-start-color: #1769aa;
}

The border consists of short line segments. Dash length and spacing can vary by browser.

solid

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
}

The border appears as one continuous line.

double

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: double;
  border-inline-start-color: #1769aa;
}

The border displays two parallel lines separated by a gap. The total border thickness remains 6 pixels.

groove

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: groove;
  border-inline-start-color: #1769aa;
}

The border has a recessed appearance created through contrasting shades.

ridge

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: ridge;
  border-inline-start-color: #1769aa;
}

The border has a raised appearance.

inset

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: inset;
  border-inline-start-color: #1769aa;
}

The border uses shading that makes the element appear inset.

outset

.panel {
  border-inline-start-width: 6px;
  border-inline-start-style: outset;
  border-inline-start-color: #1769aa;
}

The border uses shading that makes the element appear raised.

The exact rendering of decorative border styles may differ between browsers and operating systems.

none vs. hidden

Both none and hidden prevent the border from being drawn, but they behave differently when resolving conflicts between collapsed table borders.

Using none

.panel {
  border-inline-start: 5px solid #1769aa;
  border-inline-start-style: none;
}

The border disappears, and its computed width becomes zero.

Using hidden

.panel {
  border-inline-start: 5px solid #1769aa;
  border-inline-start-style: hidden;
}

The border is not drawn, and its computed width becomes zero.

Collapsed Table Borders

table {
  border-collapse: collapse;
}
td {
  border: 2px solid #cccccc;
}
td.no-divider {
  border-inline-start-style: hidden;
}

In the collapsed border model, hidden takes precedence over competing border styles and suppresses the shared border.

none in Collapsed Tables

table {
  border-collapse: collapse;
}
td {
  border: 2px solid #cccccc;
}
td.no-divider {
  border-inline-start-style: none;
}

With none, another cell's competing border can still be displayed.

For ordinary boxes, both values hide the border. Use hidden when its special collapsed-table behavior is needed.

Border Width and Color

The border-inline-start-style property works with the corresponding width and color longhands.

Style Only

.panel {
  border-inline-start-style: solid;
}

The border uses the initial medium width and currentcolor.

Style and Width

.panel {
  border-inline-start-style: dashed;
  border-inline-start-width: 5px;
}

The border becomes 5 pixels wide and dashed.

Style and Color

.panel {
  border-inline-start-style: dotted;
  border-inline-start-color: #1769aa;
}

The border becomes dotted and blue, using the initial medium width.

All Three Longhands

.panel {
  border-inline-start-width: 5px;
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
}

The border becomes a 5-pixel solid blue line.

Using currentcolor

.panel {
  color: #1769aa;
  border-inline-start-width: 5px;
  border-inline-start-style: solid;
  border-inline-start-color: currentcolor;
}

The border follows the element's text color.

Transparent Border

.panel {
  border-inline-start-width: 5px;
  border-inline-start-style: solid;
  border-inline-start-color: transparent;
}

The border retains its width but is visually transparent.

Zero Width

.panel {
  border-inline-start-width: 0;
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
}

No border is visible because its width is zero.

Use the style longhand when changing only the line pattern while preserving the existing border width and color.

Shorthand Properties

The border-inline-start-style property is a longhand component of the border-inline-start shorthand.

border-inline-start Shorthand

.panel {
  border-inline-start: 5px dashed #1769aa;
}

This sets the width, style, and color in one declaration.

Equivalent Longhands

.panel {
  border-inline-start-width: 5px;
  border-inline-start-style: dashed;
  border-inline-start-color: #1769aa;
}

The three longhand declarations produce the same result.

Changing Only the Style

.panel {
  border-inline-start: 5px solid #1769aa;
  border-inline-start-style: dotted;
}

The border becomes dotted while retaining its width and color.

border-inline Shorthand

.panel {
  border-inline: 5px solid #1769aa;
  border-inline-start-style: dashed;
}

Both inline borders are initially solid. The inline-start border becomes dashed.

border-inline-style Shorthand

.panel {
  border-inline-width: 5px;
  border-inline-color: #1769aa;
  border-inline-style: dashed solid;
}

The inline-start border is dashed, and the inline-end border is solid.

One Style for Both Inline Borders

.panel {
  border-inline-width: 5px;
  border-inline-color: #1769aa;
  border-inline-style: dashed;
}

A single style value applies to both inline borders.

border Shorthand

.panel {
  border: 2px solid #cccccc;
  border-inline-start-style: dashed;
}

All four borders are initially solid. The logical inline-start border becomes dashed.

Shorthand Reset

.panel {
  border-inline-start-style: dashed;
  border-inline-start: 5px solid #1769aa;
}

The later shorthand resets the style to solid.

Use the longhand when the border's width and color should remain unchanged.

Physical vs. Logical Border Styles

Physical border-style properties always target a fixed side. Logical border-style properties follow the element's writing mode and direction.

Property Target
border-left-style Physical left border
border-right-style Physical right border
border-top-style Physical top border
border-bottom-style Physical bottom border
border-inline-start-style Logical inline-start border

Physical Left Border

.panel {
  border-left: 5px dashed #1769aa;
}

The dashed border remains on the physical left edge.

Logical Inline-Start Border

.panel {
  border-inline-start: 5px dashed #1769aa;
}

The dashed border follows the logical starting edge.

Horizontal LTR

.panel {
  direction: ltr;
  border-inline-start: 5px dashed #1769aa;
}

The dashed border appears on the left.

Horizontal RTL

.panel {
  direction: rtl;
  border-inline-start: 5px dashed #1769aa;
}

The dashed border appears on the right.

Vertical Writing

.panel {
  writing-mode: vertical-rl;
  direction: ltr;
  border-inline-start: 5px dashed #1769aa;
}

The dashed border appears on the top.

Physical and Logical Conflicts

.panel {
  border-left: 5px solid #1769aa;
  border-inline-start-style: dashed;
}

In horizontal left-to-right writing, both declarations affect the left border style. When their cascade priority is otherwise equal, the later dashed value wins.

In horizontal right-to-left writing, the physical left border remains solid, while the logical inline-start border on the right receives the dashed style. The right border must also have a nonzero width to be visible.

Prefer logical border properties when layouts need to support multiple writing directions.

Inline-Start vs. Inline-End

The border-inline-start-style and border-inline-end-style properties control the styles of opposite logical borders.

Inline-Start Style

.panel {
  border-inline-start: 5px dashed #1769aa;
}

The logical starting border is dashed.

Inline-End Style

.panel {
  border-inline-end: 5px dotted #27ae60;
}

The logical ending border is dotted.

Different Styles on Both Edges

.panel {
  border-inline-width: 5px;
  border-inline-color: #1769aa;
  border-inline-start-style: dashed;
  border-inline-end-style: solid;
}

The inline-start border is dashed, and the inline-end border is solid.

Using border-inline-style

.panel {
  border-inline-width: 5px;
  border-inline-color: #1769aa;
  border-inline-style: dashed solid;
}

The first value applies to inline-start, and the second applies to inline-end.

Same Style on Both Edges

.panel {
  border-inline: 5px solid #1769aa;
  border-inline-style: dashed;
}

Both inline borders become dashed.

Horizontal Direction Mapping

Direction Inline-Start Inline-End
LTR Left Right
RTL Right Left

Use separate longhands when each logical edge needs a different style.

Cascade and Overrides

The CSS cascade determines which border style applies when multiple declarations target the same border.

Later Declaration

.panel {
  border-inline-start-style: solid;
  border-inline-start-style: dashed;
}

The later dashed value wins when both declarations have equal cascade priority.

Higher Specificity

.panel {
  border-inline-start-style: solid;
}
.panel.warning {
  border-inline-start-style: dashed;
}

The warning panel uses a dashed border because its selector is more specific.

Shorthand Override

.panel {
  border-inline-start-style: dashed;
  border-inline-start: 5px solid #1769aa;
}

The later shorthand changes the style to solid.

Longhand Override

.panel {
  border-inline-start: 5px solid #1769aa;
  border-inline-start-style: dotted;
}

The later longhand changes only the style to dotted.

Physical Style Conflict

.panel {
  border-left-style: solid;
  border-inline-start-style: dashed;
}

In horizontal left-to-right writing, both declarations target the left border style. The later declaration wins when their cascade priority is otherwise equal.

CSS Layers

@layer base, components;
@layer base {
  .panel {
    border-inline-start-style: solid;
  }
}
@layer components {
  .panel {
    border-inline-start-style: dashed;
  }
}

For normal declarations, the later layer takes precedence, so the dashed style wins.

When a border style does not match the expected result, check shorthand declarations, selector specificity, cascade layers, and logical-to-physical mapping.

CSS Custom Properties

CSS custom properties can store border-style keywords for reusable components and themes.

Reusable Border Style

:root {
  --accent-border-style: solid;
}
.panel {
  border-inline-start-width: 5px;
  border-inline-start-color: #1769aa;
  border-inline-start-style: var(--accent-border-style);
}

The border style comes from the custom property.

Component Override

.panel {
  --accent-border-style: solid;
  border-inline-start: 5px solid #1769aa;
  border-inline-start-style: var(--accent-border-style);
}
.panel.alternate {
  --accent-border-style: dashed;
}

The alternate panel uses a dashed border.

Fallback Style

.panel {
  border-inline-start-width: 5px;
  border-inline-start-color: #1769aa;
  border-inline-start-style: var(--accent-border-style, solid);
}

The fallback solid style is used when the custom property is unavailable or has the guaranteed-invalid value.

Theme-Based Style

:root {
  --accent-border-style: solid;
}
[data-theme="decorative"] {
  --accent-border-style: double;
}
.panel {
  border-inline-start-width: 6px;
  border-inline-start-color: #1769aa;
  border-inline-start-style: var(--accent-border-style);
}

The border style changes with the selected theme.

Component Variants

.notice {
  --notice-border-style: solid;
  border-inline-start-width: 5px;
  border-inline-start-color: #1769aa;
  border-inline-start-style: var(--notice-border-style);
}
.notice.draft {
  --notice-border-style: dashed;
}
.notice.optional {
  --notice-border-style: dotted;
}

Custom properties allow component variants to share the same border declaration.

Interactive States

Border styles can change in response to hover, focus, selection, and other interface states.

Hover State

.panel {
  border-inline-start: 5px solid #1769aa;
}
.panel:hover {
  border-inline-start-style: dashed;
}

The border changes from solid to dashed on hover.

Focus State

.form-field {
  border-inline-start: 5px solid #cccccc;
}
.form-field:focus {
  border-inline-start-style: double;
  border-inline-start-color: #1769aa;
}

The border changes to double when the field receives focus.

Keyboard Focus

.form-field {
  border-inline-start: 5px solid #cccccc;
}
.form-field:focus-visible {
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
  outline: 2px solid #1769aa;
  outline-offset: 2px;
}

The outline provides an additional visible focus indicator.

Selected Item

.selectable-panel {
  border-inline-start: 5px dashed #cccccc;
}
.selectable-panel.is-selected {
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
}

The selected panel uses a solid blue border.

Current Navigation Item

.nav-link {
  border-inline-start: 4px solid transparent;
}
.nav-link[aria-current="page"] {
  border-inline-start-style: double;
  border-inline-start-color: #1769aa;
}

The current navigation item receives a double-line border.

Discrete Style Changes

.panel {
  border-inline-start: 5px solid #1769aa;
  transition: border-inline-start-style 0.3s;
}
.panel:hover {
  border-inline-start-style: dashed;
}

Border-style values animate discretely rather than interpolating into intermediate line patterns. The change is not a smooth transformation from solid to dashed.

For smooth visual feedback, animate border-inline-start-color instead. Avoid using border style as the only indicator of an important state.

Responsive Design

The border-inline-start-style property can change based on viewport size, container size, or writing mode.

Media Query

.responsive-panel {
  border-inline-start: 5px solid #1769aa;
}
@media (max-width: 600px) {
  .responsive-panel {
    border-inline-start-style: dashed;
  }
}

The border becomes dashed on smaller screens.

Container Query

.panel-container {
  container-type: inline-size;
}
.responsive-panel {
  border-inline-start: 5px solid #1769aa;
}
@container (min-width: 500px) {
  .responsive-panel {
    border-inline-start-style: double;
  }
}

The border becomes double when its query container reaches the specified inline size.

Dark Color Scheme

.responsive-panel {
  border-inline-start: 5px solid #1769aa;
}
@media (prefers-color-scheme: dark) {
  .responsive-panel {
    border-inline-start-style: dashed;
    border-inline-start-color: #79b8f3;
  }
}

The border uses a dashed style and lighter color in dark mode.

Responsive Writing Mode

.responsive-panel {
  writing-mode: horizontal-tb;
  border-inline-start: 5px dashed #1769aa;
}
@media (min-width: 900px) {
  .responsive-panel {
    writing-mode: vertical-rl;
  }
}

With left-to-right inline progression, the dashed border moves from the left edge to the top edge.

Responsive Custom Property

.responsive-panel {
  --border-style: solid;
  border-inline-start: 5px solid #1769aa;
  border-inline-start-style: var(--border-style);
}
@media (max-width: 600px) {
  .responsive-panel {
    --border-style: dotted;
  }
}

The border style changes through a custom property.

Logical border properties reduce the need for separate physical-edge rules when the writing direction changes.

Practical Uses

Different border styles can help distinguish interface components, content types, and visual states.

Information Notice

.notice {
  padding: 20px;
  border-inline-start-width: 5px;
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
  background-color: #f3f8fc;
}

A solid border provides a clear accent for informational content.

Draft Content

.notice.draft {
  border-inline-start-style: dashed;
  border-inline-start-color: #d35400;
}

A dashed border can visually distinguish draft content.

Optional Content

.notice.optional {
  border-inline-start-style: dotted;
  border-inline-start-color: #777777;
}

A dotted border can identify optional content.

Blockquote

blockquote {
  padding-inline-start: 20px;
  border-inline-start-width: 4px;
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
}

A solid logical border emphasizes quoted text.

Highlighted Section

.highlighted-section {
  padding: 20px;
  border-inline-start-width: 6px;
  border-inline-start-style: double;
  border-inline-start-color: #1769aa;
}

A double border creates a distinctive accent.

Selected Navigation Item

.nav-link {
  border-inline-start: 4px solid transparent;
}
.nav-link[aria-current="page"] {
  border-inline-start-style: solid;
  border-inline-start-color: #1769aa;
}

The current navigation item displays a solid accent border.

Form Validation

.form-field {
  border-inline-start: 4px solid #cccccc;
}
.form-field:invalid {
  border-inline-start-style: dashed;
  border-inline-start-color: #c0392b;
}
.form-field:valid {
  border-inline-start-style: solid;
  border-inline-start-color: #27ae60;
}

The border style and color provide visual feedback about the field's validation state. Include text feedback for accessibility.

Choose border styles that remain readable at the specified width and provide a consistent visual meaning throughout the interface.

border-inline-start-style Example

The following example compares the main border styles using the same width and color.

<div class="border-inline-start-style-demo">
  <div class="demo-box solid">solid</div>
  <div class="demo-box dashed">dashed</div>
  <div class="demo-box dotted">dotted</div>
  <div class="demo-box double">double</div>
  <div class="demo-box groove">groove</div>
  <div class="demo-box ridge">ridge</div>
  <div class="demo-box inset">inset</div>
  <div class="demo-box outset">outset</div>
</div>
.border-inline-start-style-demo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.border-inline-start-style-demo .demo-box {
  box-sizing: border-box;
  padding: 20px;
  border-inline-start-width: 8px;
  border-inline-start-color: #1769aa;
  background-color: #f3f8fc;
  color: #173b5e;
  font-weight: bold;
}
.border-inline-start-style-demo .solid {
  border-inline-start-style: solid;
}
.border-inline-start-style-demo .dashed {
  border-inline-start-style: dashed;
}
.border-inline-start-style-demo .dotted {
  border-inline-start-style: dotted;
}
.border-inline-start-style-demo .double {
  border-inline-start-style: double;
}
.border-inline-start-style-demo .groove {
  border-inline-start-style: groove;
}
.border-inline-start-style-demo .ridge {
  border-inline-start-style: ridge;
}
.border-inline-start-style-demo .inset {
  border-inline-start-style: inset;
}
.border-inline-start-style-demo .outset {
  border-inline-start-style: outset;
}
Browser Result
solid
dashed
dotted
double
groove
ridge
inset
outset

Each example uses the same border width and color. Only the border-inline-start-style value changes.

The exact appearance of dotted, dashed, and three-dimensional border styles may vary between browsers.

Important Considerations

Keep the following points in mind when using border-inline-start-style:

  • Purpose: Sets the line style of the logical inline-start border.
  • Property type: Longhand.
  • Initial value: none.
  • Inheritance: The property is not inherited.
  • Logical edge: Follows the beginning of the inline axis.
  • Writing mode: Determines whether the inline axis is horizontal or vertical.
  • Direction: Determines which physical edge is inline-start.
  • Horizontal LTR: Controls the left border style.
  • Horizontal RTL: Controls the right border style.
  • Vertical top-to-bottom: Controls the top border style.
  • Vertical bottom-to-top: Controls the bottom border style.
  • Valid styles: none, hidden, dotted, dashed, solid, double, groove, ridge, inset, and outset.
  • none: Removes the visible border and gives it a computed width of zero.
  • hidden: Also suppresses the border and has special collapsed-table behavior.
  • Width: Is controlled separately by border-inline-start-width.
  • Color: Is controlled separately by border-inline-start-color.
  • Default color: Uses currentcolor unless overridden.
  • Visibility: A nonzero border width is required for a visible border.
  • Shorthand: border-inline-start sets width, style, and color together.
  • Inline shorthand: border-inline-style can set both inline border styles.
  • Inline-end: border-inline-end-style controls the opposite logical edge.
  • Physical borders: Can conflict with logical borders when both map to the same edge.
  • Shorthand resets: Later shorthand declarations may override the style.
  • Animation: Border-style changes are discrete rather than smoothly interpolated.
  • Custom properties: Can store reusable border-style keywords.
  • Responsive design: Can use media queries and container queries.
  • Accessibility: Do not rely on border appearance alone to communicate important information.
  • Browser support: Modern browsers support the standard property without vendor prefixes.

Use border-inline-start-style when the logical starting border already has the desired width and color, and only its line style needs to change.

Browser Support

The border-inline-start-style property is widely available in current versions of Chrome, Edge, Firefox, Safari, and other major browsers.

The standard property does not require vendor prefixes in modern browsers.

Basic Declaration

.panel {
  border-inline-start-width: 5px;
  border-inline-start-style: dashed;
  border-inline-start-color: #1769aa;
}

Right-to-Left Direction

.panel {
  direction: rtl;
  border-inline-start: 5px dashed #1769aa;
}

Vertical Writing Mode

.panel {
  writing-mode: vertical-rl;
  border-inline-start: 5px dashed #1769aa;
}

Physical Border Fallback

.panel {
  border-left: 5px dashed #1769aa;
}
@supports (border-inline-start-style: dashed) {
  .panel {
    border-left: 0;
    border-inline-start: 5px dashed #1769aa;
  }
}

This fallback assumes horizontal left-to-right writing. Older browsers use a physical left border, while supporting browsers use the logical inline-start border.

Visit Can I Use? and search for border-inline-start-style to review browser compatibility.

Specifications

The border-inline-start-style property is defined in the CSS Logical Properties and Values Module Level 1 specification.

CSS Logical Properties and Values Module Level 1

The specification defines how logical border styles map to physical borders based on writing mode and direction.

The available border styles and their rendering behavior are also defined by the CSS Backgrounds and Borders specification.

CSS Backgrounds and Borders Module Level 3