CSS border-bottom-width property
Examples
Settings at the bottom border width:
[Mycode3] p {border-style: solid; border-bottom-width: 15px;} [/ mycode3]
try it"
Attribute definitions and instructions
border-bottom-width property is set to the width of the bottom border of the element.
Note Always declaration border-style property can set the border-bottom-width property.Element must have a border, you can change the width.
Defaults: | medium |
---|---|
inherit: | no |
version: | CSS1 |
JavaScript syntax: | object object.style.borderBottomWidth = "thick" |
Browser Support
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
border-bottom-width | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
Property Values
value | Explanation |
---|---|
thin | Fine definition of the border |
medium | Defaults. Definition of the border medium |
thick | Definition of thick bottom border |
length | It allows you to customize the width of the bottom border |
inherit | Provisions should be inherited from the parent element border width |
related articles
CSS tutorial: CSS Border
CSS Reference: border-bottom property