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

APISummary
## Introduction

Used to set the styles related to the bottom border. This property allows setting `border-bottom-width`, `border-bottom-style`, and `border-bottom-color` in order.

## Usage Examples

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

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

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

const BorderBottom = () => {
  const scrollViewStyle = {
    height: "100%",
  };

  const fixedAreaStyle = {
    width: "100%",
    height: "100%",
    flexDirection: "column" as const,
  };

  const styles = [
    ["thick double red", "thin dotted blue"],
    ["10px dashed orange", "medium solid #0000ff"],
    ["5px groove rgba(0,255,0,0.6)", "10rpx ridge hsl(89,43%,51%)"],
    ["thick outset hsla(89,43%,51%,0.3)", "16px inset #ab0"],
  ];

  return (
    <scroll-view className="root" scroll-orientation="vertical" style={scrollViewStyle}>
      <view className="fixed_area" style={fixedAreaStyle}>
        {styles.map((row, rowIndex) => (
          <view key={`normal-${rowIndex}`}>
            <view className="row">
              {row.map((borderStyle, colIndex) => (
                <view key={`normal-${rowIndex}-${colIndex}`} className="box" style={{ borderBottom: borderStyle }}>
                  <text className="text">{borderStyle}</text>
                </view>
              ))}
            </view>
          </view>
        ))}

        {styles.map((row, rowIndex) => (
          <view key={`radius-${rowIndex}`}>
            <view className="row">
              {row.map((borderStyle, colIndex) => (
                <view
                  key={`radius-${rowIndex}-${colIndex}`}
                  className={`box radiusStyle${colIndex}`}
                  style={{ borderBottom: borderStyle }}
                >
                  <text className="text">{borderStyle}</text>
                </view>
              ))}
            </view>
          </view>
        ))}
      </view>
    </scroll-view>
  );
};

root.render(<BorderBottom />);

```

v0.11.0



## Syntax

```css
/* Bottom border with thick double red lines */
border-bottom: thick double red;

/* Bottom border with thin dotted blue lines */
border-bottom: thin dotted blue;

/* Bottom border with a 10px dashed orange line */
border-bottom: 10px dashed orange;
```

### Values

Accepts the following value types in order:

- [`<line-width>`](/next/api/css/properties/border-bottom.md#formal-definition)
  - See [`<border-bottom-width>`](/next/api/css/properties/border-bottom-width.md)

- [`<line-style>`](/next/api/css/properties/border-bottom.md#formal-definition)
  - See [`<border-bottom-style>`](/next/api/css/properties/border-bottom-style.md)

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

## Formal Definition

| Initial value | Empty |
| Applies to | All elements |
| Inherited | no |
| Animatable | no |


## Formal Syntax

```css
border-bottom =
  <line-width>  ||
  <line-style>  ||
  <color>

<line-width> = <length> | thin | medium | thick
<line-style> = none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
```

## Differences from the Web

- [mdn:border-bottom](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom)
- Does not support global values like `inherit`, `initial`, `revert`, and `unset`

## Compatibility

**Compatibility Table**

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

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

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

**`border-bottom`**

**Specifications:**

