CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS border-top-width property




CSS border-top width property allow to set a top border thickness size.


Property Values


Properties Value Description
Syntax border-top-width:value;
value   Size_px
  thick
  medium
  thin
  inherit
Allow to All elements
Inherited Yes

Example-Code:

<p style="border-top-color:orange;;border-top-width:10px;
border-top-style:solid;> border-width is 10 pixels. </p>
Online Try This Code Your Self....   »

Example-Result:

border-width is 10 pixels.