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

# border-end-end-radius

APISummary
## 介绍

用于添加阅读模式结束方向下角圆角边框。
第一个值是水平半径，第二个值是垂直半径。如果省略第二个值，则复制第一个值。如果长度为零，则边角为方形，而不是圆形。水平半径的百分比值参考边框盒的宽度，而垂直半径的百分比值参考边框盒的高度。

在 `LTR` 模式下，`border-end-end-radius` 等价于 `border-bottom-right-radius`。
在 `RTL` 模式下，`border-end-end-radius` 等价于 `border-bottom-left-radius`。

## 使用示例

**下面是一个示例: css-api**

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

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

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

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

  const textStyle = {
    borderEndEndRadius: "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(<BorderEndEndRadius />);

```

v0.11.0



## 语法

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

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

### 取值

- [`<length>`](/next/zh/api/css/data-type/length.md)
  定义圆角的形状。

- [`<percentage>`](/next/zh/api/css/data-type/percentage.md)
  以百分比定义圆角的形状。

## 形式定义

| 初始值 | 0 |
| 适用元素 | all elements |
| 是否支持继承 | no |
| 是否支持动画 | no |


## 形式语法

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

## 扩展阅读

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

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

## 兼容性

**Compatibility Table**

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

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

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

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

**Specifications:**

