Style Object
The borderBottom property sets or returns up to three separate border-bottom properties, in a shorthand form.
With this property, you can set/return:
Set the borderBottom property:
Return the borderBottom property:
Tip: There is no default value for the borderBottom property.
| Parameter | Description |
|---|---|
| width | Sets the width of the bottom border |
| style | Sets the style of the bottom border |
| color | Sets the color of the bottom border |
![]()
The borderBottom property is supported in all major browsers.
Change the width, style, and color of the left border:
Style Object
Your message has been sent to W3Schools.