CSS property: border-top

Description

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

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

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

Syntax

Versions