# border-top-width

## 介绍

用于设置上边框的宽度

## 语法

```css
/* 上边框是细边框 */
border-top-width: thin;
/* 上边框是中等边框 */
border-top-width: medium;
/* 上边框是粗边框 */
border-top-width: thick;
/* 上边框是10px */
border-top-width: 10px;
```

### 取值

-   `thin`

细边框。

-   `medium`

中等边框。

-   `thick`

粗边框。

-   `<length>`

以具体的尺寸定义边框宽度

## 标准化语法

```css
border-top-width: thin | medium | thick | <length>
```
