Example

A simple border-bottom property example:

Laboratory

description & Usage

Border-bottom property is a brief and general property for:

border-bottom-width
border-bottom-style
border-bottom-color


Is.

Informations

# Description
Default Value medium none color
Inherited no
Animatable yes
Version CSS1
JavaScript syntax object.style.borderBottom="15px dotted lightblue"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
border-bottom

Syntax

Values

Values Description
border-bottom-width Specifies the width of the bottom border.
border-bottom-style Specifies the style of the bottom border.
border-bottom-color Specifies the color of the bottom border.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.