The border-top shorthand CSS property sets all the properties of an element's right border.
It is actually the same as this one:
This property is a shorthand for the following CSS properties:
border-top-width
width of the border
border-top-style
style of the border
border-top-color
color of the border
As with all shorthand properties, border-top always sets the values of all the properties that it can set, even if they are not specified. It sets those that are not specified to their default values. Consider the following code:
Initial value | 0 |
Applies to | all elements |
Inherited | no |
Animatable | no |
Global values are not supported. (inherit, initial, revert, unset, etc)
Default style value is solid
.
LCD tables only load in the browser