> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# border-inline-start-color

APISummary
## Introduction

The `border-inline-start-color` CSS property defines the color of the logical inline start border of an element.

In a horizontal-tb writing mode with `LTR` direction, it corresponds to the [`border-left-color`](/next/api/css/properties/border-left-color.md) property.
In a horizontal-tb writing mode with `RTL` direction, it corresponds to the [`border-right-color`](/next/api/css/properties/border-right-color.md) property.

## Examples

**This is an example below: css-api**

**Entry:** `src/border-inline-start-color`
**Bundle:** `dist/border-inline-start-color.lynx.bundle`

```tsx
import { root, useState } from "@lynx-js/react";
import "./index.scss";

const BorderInlineStartColor = () => {
  const [rtl, setRtl] = useState(false);

  const containerStyle = {
    direction: rtl ? "rtl" : "ltr" as "rtl" | "ltr",
  };

  const textStyle = {
    borderInlineStartColor: "blue",
    borderInlineEndColor: "yellow",
  };

  return (
    <>
      <view className="con" bindtap={() => setRtl(!rtl)} style={containerStyle}>
        <text className="intro" style={textStyle}>1</text>
      </view>
      <text>Click above to switch, current {rtl ? "rtl" : "ltr"}</text>
    </>
  );
};

root.render(<BorderInlineStartColor />);

```

v0.11.0



## Syntax

```css
border-inline-start-color: red;
border-inline-start-color: #ffbb00;
border-inline-start-color: rgb(255, 0, 0);
border-inline-start-color: hsla(100%, 50%, 25%, 0.75);
border-inline-start-color: currentColor;
border-inline-start-color: transparent;
```

### Values

- `transparent`

- [`<color>`](/next/api/css/data-type/color.md)

## Formal definition

| Initial value | 0px |
| Applies to | all elements |
| Inherited | no |
| Animatable | no |


## Formal syntax

```
transparent | <color>
```

## See also

- [mdn:border-inline-start-color](https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-start-color)

- [direction](/next/api/css/properties/direction.md)

## Compatibility

**Compatibility Table**

**Query:** `css.properties.border-inline-start-color`

[Source](https://github.com/lynx-family/lynx/blob/develop/tools/css_generator/css_defines/154-border-inline-start-color.json) · [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-start-color)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| border-inline-start-color | Yes (1.0) | Yes (3.4) | Yes (1.0) | Yes (1.0) | Yes (1.0) | Yes |

**`border-inline-start-color`**

**Specifications:**

