> 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-bottom-color

APISummary
## 介绍

设置元件下边框颜色。需单独设置下边框颜色时使用。

## 使用示例

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

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

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

const BorderBottomColor = () => {
  return (
    <view className="intro">
      <text className="border-color">
        {"\n border-left-color: red; \n border-right-color: blue; \n border-top-color: green; \n border-bottom-color: black; \n"}
      </text>
    </view>
  );
};

root.render(<BorderBottomColor />);

```

v0.11.0



## 语法

```css
border-bottom-color: red;

border-bottom-color: '#ff0000';
```

### 取值

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

## 形式定义

| 初始值 | 空值 |
| 适用元素 | 所有元件 |
| 是否支持继承 | no |
| 是否支持动画 | yes |


## 形式语法

```css

border-bottom-color = <color>
<color> = <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color>

```

## 与 Web 的区别

- [MDN 参考](https://developer.mozilla.org/zh-CN/docs/Web/CSS/border-bottom-color)
- 默认值不同（Web 为 `currentColor`）
- 不支持 inherit、initial、revert、unset 等全局值

## 兼容性

**Compatibility Table**

**Query:** `css.properties.border-bottom-color`

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

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

**`border-bottom-color`**

**Specifications:**

