CSS property: border-bottom

Description

Shorthand property for setting the width, style, and color of the bottom border

This is a shorthand property for setting the width, style, and color of the bottom border of a box. Omitted values are set to their initial values.

See border-bottom-width, border-bottom-style and border-bottom-color.

Syntax

Versions

Examples

h1 {
    border-bottom: solid 1px #f00;
}