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

APISummary
## Introduction

Used to set the width of the bottom border.

## Usage Examples

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

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

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

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

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

  const widthOptions = [
    ["thin", "medium", "thick"],
    ["1px", "10px", "2rpx"],
    ["1em", "0.1em", "0.3rem"],
  ];

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

        {widthOptions.map((row, rowIndex) => (
          <view key={`style-${rowIndex}`}>
            <view className="row">
              {row.map((width, colIndex) => (
                <view
                  key={`style-${rowIndex}-${colIndex}`}
                  className={`box styleDiff${colIndex}`}
                  style={{ borderBottomWidth: width }}
                >
                  <text className="text">{width}</text>
                </view>
              ))}
            </view>
          </view>
        ))}

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

root.render(<BorderBottomWidth />);

```

v0.11.0



## Syntax

```css
border-bottom-width: 10px;
```

### Values

- `thin`: Thin border (2px)
- `medium`: Medium border (4px)
- `thick`: Thick border (6px)
- [`<length>`](/next/api/css/data-type/length.md): Specific size value

## Formal Definition

| Initial value | 0 |
| Applies to | All elements |
| Inherited | no |
| Animatable | yes |


## Formal Syntax

```css
border-bottom-width = <line-width>
<line-width> = thin | medium | thick | <length>
```

## Differences from the Web

- [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-width)
- Different specific size values (Web standard: `thin=1px, medium=3px, thick=5px`)
- Different default value (Web uses `medium`)
- Does not support global values like `inherit`, `initial`, `revert`, and `unset`

## Compatibility

**Compatibility Table**

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

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

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

**`border-bottom-width`**

**Specifications:**

