HTML Dog
Skip to navigation

CSS Property: border-top-width

The width of the top border of a box, above the content and padding areas and before the top margin area.

Possible Values

ValueNoteExample
[length]Should not be a negative value.10px
thin
medium
thick
inherit
initial
unset

Example


#adder { border-top-width: 1px; }