> 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-start-end-radius

APISummary
## Introduction

The `border-start-end-radius` CSS property defines a logical border radius on an element, which notes the size of the circle radius or the semi-major and semi-minor axes of the ellipse.

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

## Examples

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

**Entry:** `src/border-start-end-radius`
**Bundle:** `dist/border-start-end-radius.lynx.bundle`

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

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

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

  const textStyle = {
    borderStartEndRadius: "40px",
  };

  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(<BorderStartEndRadius />);

```

v0.11.0



## Syntax

```css
/* the corner is a circle */
/* border-end-end-radius: radius */
border-start-end-radius: 3px;

/* the corner is an ellipsis */
/* border-end-end-radius: horizontal vertical */
border-start-end-radius: 0.5em 1em;
```

### Values

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

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

## Formal definition

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


## Formal syntax

```
[<length> | <percentage>] [ / [<length> | <percentage>]]?
```

## See also

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

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

## Compatibility

**Compatibility Table**

**Query:** `css.properties.border-start-end-radius`

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

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

**`border-start-end-radius`**

**Specifications:**

