Border Width

<pre><code>p.one {
  border-style: solid;
  border-width: 5px;
}

p.two {
  border-style: solid;
  border-width: medium;
}

p.three {
  border-style: solid;
  border-width: 2px 10px 4px 20px;
}</code></pre>
  • Specifies the width of the four borders.
  • Can be set as a specific size (in px, pt, cm, em, etc) or by using one of the three pre-defined values: thin, medium, or thick.
  • Can have from one to four values (for the top border, right border, bottom border, and the left border).

Border Width — Structure map

Clickable & Draggable!

Border Width — Related pages: