border-top - CSS 3
The border-top shorthand property sets all the top border properties in one declaration.The properties that can be set, are (in order): border-top-width, border-top-style, and border-top-color.If one of the values above are missing, e.g. border-top:solid #ff0000, the
default value for the missing property will be inserted, if any.
Syntax
border-top: border-width border-style border-color|initial|inherit;
Example
p
{
border-style: solid;
border-top: thick double #ff0000;
}
Output / Return Value
Limitations
Alternatives / See Also
Reference