Example

A simple border-bottom-width property example:

Laboratory

description & Usage

To determine the width of the bottom border, we use the border-bottom-width property.

Informations

# Description
Default Value medium
Inherited no
Animatable yes
Version CSS1
JavaScript syntax object.style.borderBottomWidth="5px"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
border-bottom-width

Syntax

Values

Values Description
medium Averages the bottom margin.
thin It thins the bottom border.
thick It thickens the lower margin.
length Allows the user to set the thickness of the bottom border.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.