property
|
chrome
|
firefox
|
microsoft edge
|
Opera
|
border-top-width
|
1.0
|
1.0
|
4.0
|
3.5
|
Value
|
Description
|
medium
|
It specifies a medium top border. This is the default.
|
thin
|
It specifies a thin top border.
|
thick
|
It specifies a thick top border.
|
length
|
It allows defining the thickness of the top border.
|
initial
|
Set this property to its default value.
|
inherit
|
Inherits this property from its parent element.
|
Default value:
|
Medium
|
Version:
|
CSS1
|
inherited
|
No
|
Animatable
|
Yes
|
JavaScript syntax:
|
object.style.borderTopWidth="10px"
|