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:

  • border-top-style
  • border-top-color
  • border-top-width

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

Examples

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

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

🔗 🔎