The border-top CSS shorthand property sets all the properties of an element's top border.
MDN Reference