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
Allow to All elements
Inherited Yes


<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....   »


border-width is 10 pixels.