Border top: style + color + width

border-top

Set the top border's style, color and width.

Property values

This property sets these three top edge properties, which may be specified in any order:

See the separate specifcations for border-style, border-color and border-width.

Examples

border-top: solid black 1px;
border-top

style > framing > border-topBorder top: style + color + width

🔎