Border Propertied in CSS:
In CSs Border has three properties such as
1.Border width:
it means the width of border
It can be 1px 2px …10px.. and so on.
2.Border Style:
CSS has 10 styles of border
No | Border Style |
1 | Solid |
2 | Dotted |
3 | Dashed |
4 | Double |
5 | Grooved |
6 | Ridge |
7 | Inset |
8 | Outset |
9 | None |
10 | Mix |
- Border Color:
- its can be red ,blue ,green or any color code .
Border Code of the above can be like this .
Example:
border-width :2px;
border-style: solid;
border-color: blue;