AdBlock Detected!
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.
CSS Border-Style Property |
The border-style property defines the format of the border. The table below shows the possible values and how each one renders.
The default value for border-style is "none." The border-style property itself is a shorthand for the following properties:
There can be one, two, three, or four values set for the border-style property. The rules are as follows:
Example 1: Single border style CSS Declaration
results in the following: In Example 1, one style (dotted) is defined. Therefore, all four side are shown with the dotted style. Example 2: Multiple border style CSS Declaration
results in the following: In Example 2, two styles are defined. The first style (solid) applies to the top border and the bottom border, and the second style (dashed) applies to the left border and the right border. |
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.