Borders
Introduction
The border properties allow you to specify the style, width, and color of an element’s border.
Take a look at following border samples:
A sample element with a dotted border.
A sample element with a dashed border.
A sample element with a solid border.
Border Properties
Property | Values | Description |
---|---|---|
Style | none, solid, dotted, dashed, hidden | Sets the style of an element four borders. |
Width | number | Sets the width of an element four borders. |
Color | color, transparent | Sets the color of an element four borders. |
Was this article helpful?
YesNo