<title>Example of CSS border-width property</title>
border-width: 5px 10px 15px;
border-width: medium 10px thick 15px;
<p class="one"> <strong>单值语法:</strong>:单个值设置所有四个边框的宽度。</p>
<p class="two"> <strong>二值语法:</strong>第一个值设置上下边框的宽度,第二个值设置左右边框的宽度。</p>
<p class="three"> <strong>三值语法</strong>:第一个值设置顶部边框的宽度,第二个值设置左右边框的宽度,第三个值设置 底部边框的宽度。</p>
<p class="four"> <strong>四值语法</strong>:每个值都按上,右,下和左的顺序分别设置边框的宽度。</p>
<p> <strong>注意</strong>:您必须在<code> border-width </code>属性之前声明<code> border-style </code>属性。 元素必须具有边框,然后才能设置边框的宽度。</p>