CSS border-bottom Property


In CSS, the border-bottom-style property is used to specify the style of an element's bottom border.

Syntax

Example

Preview

Property Values

Value Description
border-bottom-width Required. The width of the bottom border is specified. The default setting is "medium."
border-bottom-style Required. The style of the bottom border is specified here. "none" is the default value.
border-bottom-color Optional. The color of the bottom border is specified here. The color of the text is the default value.
initial This property is set to its default value.
inherit Inherits this property from its parent element.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
border-bottom 1.0 1.0 1.0 4.0 3.5