AdBlock Detected!
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.
CSS Border-Width Property |
The border-width property defines the width of the border. The value can be "thin," "medium," "thick," or a numerical width. If the numerical width is set to 0, no border will appear even if the border-style property is set.
The default value for border-width is "medium." The border-width property itself is a short hand for the following properties:
There can be one, two, three, or four values set for the border-width property. The rules are as follows:
Example 1: Single border width CSS Declaration
results in the following: In Example 1, the border width for all four sides is set to 10px. Example 2: Multiple border widths CSS Declaration
results in the following: In Example 2, the width for the top border is set to 10px, the width for the right border is set to "medium," the width for the bottom border is set to 15px, and the width of the left border is set to 1px. |
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.