Property
|
chrome
|
firefox
|
microsoft edge
|
opera
|
border-top
|
1.0
|
1.0
|
4.0
|
3.5
|
Value
|
Description
|
border-top-width
|
It specifies the width of the top
border. The default value is medium.
|
border-top-color
|
It specifies the style of the top borders. The default value is none.
|
border-top-style
|
It specifies the color of the top border. The default value is the color of the text.
|
initial
|
Sets this property to its default value.
|
inherit
|
Inherits this property from its parent element.
|
Default value:
|
medium none color
|
Version:
|
CSS1
|
Inherited
|
no
|
Animatable
|
yes
|
JavaScript syntax:
|
object.style.borderTop="3px double violet"
|