CSS border-inline-start-style Property

Beginner
5 min read
Updated: Oct 2026
3 examples
Live preview

Definition and Usage

The border-inline-start-style property sets the line style of the logical inline-start border. It maps to a physical edge based on writing-mode, direction, and text-orientation.

In default horizontal LTR text, inline-start is usually the left edge, so this property acts like border-left-style. In RTL it usually styles the right edge. It applies to all elements and is not inherited. The initial value is none.

Standard-track.

Not deprecated and not experimental. Logical border styles have been widely available since 2020.

CSS Syntax

syntax.css
border-inline-start-style: none | solid | dashed | dotted | double | groove | ridge | inset | outset | hidden | initial | inherit;

These are the same <line-style> keywords used by physical border styles. The initial value is none.

Property Values

ValueDescriptionTry it
noneNo inline-start border. Initial valueTry it
solidA single solid line on the inline-start edgeTry it
dashedA dashed lineTry it
dottedA dotted lineTry it
doubleTwo parallel solid linesTry it
grooveA carved 3D look. Needs enough width to read clearlyTry it
initialSets this property to its default value, noneTry it
inheritInherits this property from the parent elementTry it

ridge, inset, outset, and hidden are also valid line styles. hidden hides the border like none, but can behave differently in table border collapsing.

How to Use border-inline-start-style

Pick a visible style, then give the line a width and a color so you can see it.

  1. Set border-inline-start-style to a keyword such as solid or dashed.
  2. Set border-inline-start-width to a size larger than 0.
  3. Set border-inline-start-color so the line contrasts with the background.
  4. Or use the border-inline-start shorthand for width, style, and color in one line.
PieceRequired?Role
A style keywordYesnone hides the line. solid and friends draw it
A widthTo see it clearlyWithout thickness, the style is hard to notice
A colorTo see it clearlyLow contrast makes the edge look missing

Live Preview

The box keeps the same width and color. Only border-inline-start-style changes.

In horizontal LTR, inline-start is usually the left edge.

Result

Inline start

border-inline-start-style: solid

CSS Examples

Each snippet shows only what you need for the inline-start style: a keyword, a width, and a color. Use Try It Yourself for a live editor.

Example 1 — Solid Inline-Start Line

Draw a solid line on the inline-start edge. In horizontal LTR, that is the left side.

CSS
<style>
  p {
    border-inline-start-style: solid;
    border-inline-start-width: 4px;
    border-inline-start-color: blue;
  }
</style>

<p>Inline start</p>
Try It Yourself

How It Works

  1. Choose the style. border-inline-start-style: solid asks for a single continuous line.
  2. Give it thickness. border-inline-start-width: 4px makes the line easy to see.
  3. Give it color. border-inline-start-color: blue sets the ink of that edge.
  4. Read the edge. With default horizontal LTR writing, inline-start is the left of the paragraph.

Example 2 — Dashed Divider

Same edge, softer dashes instead of a solid stroke.

CSS
<style>
  p {
    border-inline-start-style: dashed;
    border-inline-start-width: 4px;
    border-inline-start-color: blue;
  }
</style>

<p>Inline start</p>
Try It Yourself

How It Works

  1. Keep width and color. Only the style keyword changes.
  2. Switch to dashes. dashed draws a broken line on the inline-start edge.
  3. Compare with solid. Same place, different pattern. That is all this property controls.
  4. Reuse the idea. dotted and double work the same way: change the keyword, keep width and color.

Example 3 — RTL Flips the Physical Side

The same logical style moves to the right when the direction is right-to-left.

CSS
<style>
  p {
    direction: rtl;
    border-inline-start-style: solid;
    border-inline-start-width: 4px;
    border-inline-start-color: blue;
  }
</style>

<p>Inline start</p>
Try It Yourself

How It Works

  1. Flip the inline axis. direction: rtl makes text flow right to left.
  2. Keep the logical style. The same border-inline-start-style: solid still targets the start of that flow.
  3. Watch the physical edge move. The line appears on the right, not the left.
  4. Why not border-left-style? A physical left style would stay on the left in RTL. Logical styles stay on the leading edge.

Edge Cases & Pitfalls

If the line is missing, the style, width, or color is usually why.

none

The default draws nothing

The initial value is none. Until you set a visible keyword, there is no inline-start border to style.

width

Style alone can look invisible

Set border-inline-start-width and a clear border-inline-start-color. Thin lines and low contrast are easy to miss.

left

Not the same as border-left-style

border-left-style always hits the physical left. This property follows the inline-start side when direction or writing-mode changes.

short

The shorthand can overwrite the style

border-inline-start sets width, style, and color together. Writing the shorthand after border-inline-start-style replaces that style.

3d

Groove and ridge need more width

groove, ridge, inset, and outset use light and dark edges. A 1px width often looks flat. Try 4px or more.

Browser Support

border-inline-start-style is a browser layout property. Node.js, Deno, and Bun do not apply it.

✓ Baseline · Widely available since 2020

border-inline-start-style

Chrome 69+, Firefox 41+, Safari 12.1+, Edge 79+. Internet Explorer has no support.

97% modern browsers
Google Chrome 69+
Full support
Mozilla Firefox 41+
Full support
Apple Safari 12.1+
Full support
Microsoft Edge 79+
Full support
Opera 56+
Full support
Samsung Internet 10.1+
Full support
Internet Explorer No support
None
border-inline-start-style Widely supported

Bottom line: Safe for modern browsers. For Internet Explorer, use a physical fallback such as border-left-style when you only need horizontal LTR layouts.

Key Takeaways

  • Role: the line style of the logical inline-start border.
  • none: the initial value. No inline-start border until you pick a visible style.
  • Logical: follows writing direction. Not locked to the physical left.
  • Pair it: add width and color, or use border-inline-start.

One line: border-inline-start-style chooses how the leading inline edge is drawn; writing direction chooses which physical side that is.

Frequently Asked Questions

It sets the line style of the logical inline-start border. In horizontal left-to-right text that is usually the left edge. In RTL, the same property follows the right edge.
The initial value is none. No inline-start border shows until you set a visible style such as solid or dashed.
none draws no line. You also need a width greater than zero and a color that contrasts with the background.
border-left-style always styles the physical left edge. border-inline-start-style follows writing-mode, direction, and text-orientation.
Yes. border-inline-start can set width, style, and color together. A later border-inline-start-style declaration can still change only the style.
Chrome 69+, Firefox 41+, Safari 12.1+, and Edge 79+ support it. Internet Explorer does not. It is a browser layout property, not a Node.js feature.

Next: border-inline-start-width

Set how thick the logical inline-start border is.

border-inline-start-width tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful