border-top

The border-top property allows you to simultaneously set the width, style, and color of the border on top of an element. The values can go in any order, separated by a space, the browser will determine which one corresponds to the desired property.

Syntax



border-top: line-width || line-style || color;