CSS Border-Bottom-Width Property

CSS 1

CSS 2

CSS 3

Yes Yes Yes

Description

Specifies the width of the bottom border of an element.

Syntax

border-bottom-width: [border-width];

Possible values

  • thin
  • medium
  • thick
  • length
  • inherit

Initial Value

Medium

Applies To

All elements

Inherited

Yes

Media

Visual

Example

H2 {border-bottom-width: 3px;}

H2 {border-bottom-width: thin;}


View All CSS Properties