当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS border-width属性
The border-width property is a shorthand property for setting the width of the four borders in one declaration, can have from one to
four values.
border-width属性是可以用一句声明就完成设置四个边的速记法,它可以有1个到4个值
继承性: No
table {border-width: thin} table {border-width: thin medium} table {border-width: thin medium thick} table {border-width: thin medium thick none} |
值 | 描述 |
---|---|
thin | Defines a thin border. 定义细边 |
medium | Defines a medium border. 定义中等宽度的边框 |
thick | Defines a thick border. 定义粗边框 |
length | Allows you to define the thickness of the borders. 可让你定义边框的具体粗细 |